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)); } }
/// <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)); } }