internal void UpdateDueDate(Model.Task task) { var res = Service.UpdateTaskDueDate(task.userEmail, task.column, task.TaskId, task.DueDate); if (res.ErrorOccured) { throw new Exception(res.ErrorMessage); } }
public void UpdateDescription(Model.Task task) { var res = Service.UpdateTaskDescription(task.userEmail, task.column, task.TaskId, task.Description); if (res.ErrorOccured) { throw new Exception(res.ErrorMessage); } }
internal void AssignTask(Model.Task task1) { var res = Service.AssignTask(task1.userEmail, task1.column, task1.TaskId, task1.EmailAssignee); if (res.ErrorOccured) { throw new Exception(res.ErrorMessage); } }
public void AdvanceTask(Model.Task deltask) { var res = Service.AdvanceTask(deltask.userEmail, deltask.column, deltask.TaskId); if (res.ErrorOccured) { throw new Exception(res.ErrorMessage); } }
internal void DeleteTask(Model.Task deltask) { var res = Service.DeleteTask(deltask.userEmail, deltask.column, deltask.TaskId); if (res.ErrorOccured) { throw new Exception(res.ErrorMessage); } }