public IActionResult EditProfile(Seller seller)
 {
     try
     {
         _repo.EditProfile(seller);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(NotFound(ex.InnerException.Message));
     }
 }
 public IActionResult EditProfile(Seller obj)
 {
     try
     {
         _srepo.EditProfile(obj);
         return(Ok());
     }
     catch (Exception e)
     {
         return(NotFound(e.Message));
     }
 }
Esempio n. 3
0
 public IActionResult Editprofile(Seller seller)
 {
     try
     {
         ir.EditProfile(seller);
         return(Ok());
     }
     catch (Exception e)
     {
         return(NotFound(e.Message));
     }
 }