public ActionResult <ComplaintModel> Post([FromBody] ComplaintModel complaintItem) { _logger.LogInformation("Request to log new Complaint received"); _db.CreateComplaint(complaintItem); _logger.LogInformation("Complaint successfully logged with ID {0}", complaintItem.ID); return(complaintItem); }