public ServiceResult <TaskDTO> CreateTask( [Description("Session Token")] string sessionToken, [Description("Task description")] TaskDescriptionModel taskDescriptionModel) { return(_retaskService.CreateTask( sessionToken, taskDescriptionModel.TaskDescription)); }
public ServiceResult <TaskDTO> UpdateTask( [Description("Session Token")] string sessionToken, [Description("Task Id")] int taskId, [Description("New task description")] TaskDescriptionModel taskDescriptionModel) { return(_retaskService.UpdateTask( sessionToken, taskId, taskDescriptionModel.TaskDescription)); }