public object Post(CreateTaskCategoryRequestDTO createTaskRequestDTO) { try { MessageFormat <TaskCategoryDTO> result = this.TaskCategoryBusinessLogic.Add(createTaskRequestDTO.TaskCategoryDTO); return(new CreateTaskCategoryResponseDTO { Result = result }); } catch (Exception exception) { throw exception; } }
public OperationResult <TaskCategory> Post(CreateTaskCategoryRequestDTO request) { return(this.TaskCategoryBusinessLogic.AddTaskCategory(request.TaskCategory)); }