public IActionResult EditProfile(Buyer buyer)
 {
     try
     {
         _repo.EditProfile(buyer);
         return(Ok());
     }
     catch (Exception e)
     {
         return(NotFound(e.Message));
     }
 }
 public IActionResult editprofile(Buyer buyer)
 {
     ir.EditProfile(buyer);
     return(Ok());
 }