public virtual IEnumerable <TDtoUp> GetAll() { var vRecords = _Manager.GetAll().ToList(); IEnumerable <TDtoUp> vResult = MapToDtoUp(vRecords); return(vResult); }
public async Task <IHttpActionResult> GetAllCategories() { Log4NetLogger logger = new Log4NetLogger(); logger.Info("Hi There this is naveen"); var clientRequests = await _categoryManager.GetAll(); if (clientRequests == null) { return(NotFound()); } return(Ok(clientRequests)); }