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