Пример #1
0
 public Response AssignTask(string email, int columnOrdinal, int taskId, string emailAssignee)
 {
     try
     {
         BC.AssignTask(email, columnOrdinal, taskId, emailAssignee);
         return(new Response());
     }
     catch (Exception e)
     {
         return(new Response(e.Message));
     }
 }
Пример #2
0
 /// <summary>
 /// Assign a tasl to another user.
 /// </summary>
 public Response AssignTask(string email, int columnOrdinal, int taskId, string emailAssignee)
 {
     try
     {
         bController.AssignTask(email, columnOrdinal, taskId, emailAssignee);
         return(new Response());
     }
     catch (KanbanException e)
     {
         log.Warn("could not load the boards, Error:" + e.Message);
         return(new Response(e.Message));
     }
     catch (Exception e)
     {
         log.Error("could not load the boards, Error:" + e.Message);
         return(new Response(e.Message));
     }
 }