public virtual TDtoUp Get(TDtoPk valInput) { TEntity vRecord = _Manager.GetById(valInput.Id); TDtoUp vResult = MapToDtoUp(vRecord); return(vResult); }
public async Task <IHttpActionResult> GetCategoriesById(int id) { Log4NetLogger logger = new Log4NetLogger(); logger.Info("Hi There this is naveen"); var clientRequests = await _categoryManager.GetById(id); if (clientRequests == null) { return(NotFound()); } return(Ok(clientRequests)); }