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