public ActionResult <Cover> Post([FromBody] Cover cover) { try { return(Ok(_coverService.CreateCover(cover))); } catch (Exception e) { return(BadRequest("Cannot create Covers. Reason: " + e.Message)); } }