public object Get(GetTaskCategoryByIdRequestDTO getTaskByIdRequestDTO) { try { MessageFormat <TaskCategoryDTO> result = this.TaskCategoryBusinessLogic.GetById(getTaskByIdRequestDTO.Id); return(new GetTaskCategoryByIdResponseDTO { Result = result }); } catch (Exception exception) { throw exception; } }
public OperationResult <TaskCategory> Get(GetTaskCategoryByIdRequestDTO request) { return(this.TaskCategoryBusinessLogic.GetTaskCategoryById(request.Id)); }