public ActionResult <Quote> Post([FromBody] Quote newQuote) { try { return(Ok(_qs.Create(newQuote))); } catch (System.Exception err) { return(BadRequest(err.Message)); } }
public ActionResult <Quote> Post([FromBody] Quote newQuote) { try { return(Ok(_qs.Create(newQuote))); } catch (System.Exception err) { return(BadRequest(err.Message)); } }