public IHttpActionResult Get(int id) { var user = SliderRepo.Get(id); if (user == null) { return(StatusCode(HttpStatusCode.NoContent)); } return(Ok(SliderRepo.Get(id))); }
public IHttpActionResult Get(int id) { return(Ok(SR.Get(id))); }