public IHttpActionResult DetailOfParticularStatus(int id) { Status c = repo.GetDetails(id); if (c == null) { return(NotFound()); } else { return(Ok(c)); } }