public ActionResult <Bug> Post([FromBody] Bug value) { try { return(Ok(_repo.Create(value))); } catch (Exception e) { return(BadRequest(e)); } }