コード例 #1
0
 public ServiceResult <TaskDTO> CreateTask(
     [Description("Session Token")] string sessionToken,
     [Description("Task description")] TaskDescriptionModel taskDescriptionModel)
 {
     return(_retaskService.CreateTask(
                sessionToken,
                taskDescriptionModel.TaskDescription));
 }
コード例 #2
0
 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));
 }