public IActionResult Update([FromBody] Size size) { try { _sizeService.EditSize(size); return(Ok()); } catch (Exception ex) { return(BadRequest("Size not found")); } }
public IActionResult Update([FromBody] Size size) { try { _sizeService.EditSize(size); return(Ok()); } catch (Exception ex) { return(BadRequest("Size not found")); } }