public IHttpActionResult GetMandateModel(int id) { Mandate mandate = sm.GetMandate(id); if (mandate == null) { return(NotFound()); } return(Ok(mandate)); }