Ignore:
Timestamp:
08/20/24 15:04:19 (6 weeks ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
6782104
Parents:
ae6c071
Message:

fix bugs and new pages

Fix BlogPostAnswers
fix present data in the lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Controllers/PetsController.cs

    rae6c071 r8f8226c  
    7373        [HttpPost]
    7474        [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)
    7676        {
    7777            bool isAuthenticated = User.Identity.IsAuthenticated;
     
    116116        [HttpPost]
    117117        [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)
    119119        {
    120120            bool isAuthenticated = User.Identity.IsAuthenticated;
Note: See TracChangeset for help on using the changeset viewer.