Example #1
0
 public async Task <IActionResult> UpdateStore([FromBody] Store store)
 {
     try
     {
         return(Ok(await storeBusiness.UpdateStore(store)));
     }
     catch (Exception)
     {
         return(StatusCode((int)HttpStatusCode.InternalServerError));
     }
 }