Changeset 8f8226c for PostgreSqlDotnetCore/Controllers/PetsController.cs
- Timestamp:
- 08/20/24 15:04:19 (3 months ago)
- Branches:
- main
- Children:
- 6782104
- Parents:
- ae6c071
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Controllers/PetsController.cs
rae6c071 r8f8226c 73 73 [HttpPost] 74 74 [ValidateAntiForgeryToken] 75 public async Task<ActionResult> CreateAsync([Bind(include: "id, color,description,dateofbirthday, usersid,typeofpetsid")] PetsClass peClass)75 public async Task<ActionResult> CreateAsync([Bind(include: "id,name,color,description,dateofbirthday, usersid,typeofpetsid")] PetsClass peClass) 76 76 { 77 77 bool isAuthenticated = User.Identity.IsAuthenticated; … … 116 116 [HttpPost] 117 117 [ValidateAntiForgeryToken] 118 public async Task<ActionResult> EditAsync([Bind(include: "id, color,description,dateofbirthday, usersid,typeofpetsid")] PetsClass peClass)118 public async Task<ActionResult> EditAsync([Bind(include: "id,name, color,description,dateofbirthday, usersid,typeofpetsid")] PetsClass peClass) 119 119 { 120 120 bool isAuthenticated = User.Identity.IsAuthenticated;
Note:
See TracChangeset
for help on using the changeset viewer.