public IHttpActionResult Get(string id) { Report report = _reportsRepository.Get(id); if (report == null) { return(NotFound()); } return(Ok(report.MapToViewModel())); }
public tblReport Get(int id) { return(_reportsRepository.Get(id)); }