public IActionResult Post([FromBody] GoodDTO good) { try { return(Ok(service.Create(good))); } catch (ValidationException e) { return(BadRequest(e.Message)); } catch (Exception) { return(BadRequest()); } }