Exemplo n.º 1
0
        public virtual void setColumnId(int colomnId)
        {
            //Updating database
            dataTaskController DTC = new dataTaskController();

            DTC.Update(boardId, this.key, "column", colomnId);
            //Updating field
            this.columnId = colomnId;
        }
Exemplo n.º 2
0
 public void setEmailAssignee(string emailAssignee, string email)
 {
     if (isAssignedUser(email))
     {
         this.emailAssignee = emailAssignee;
         //Updating database
         dataTaskController DTC = new dataTaskController();
         DTC.Update(boardId, key, "emailAssignee", emailAssignee);
     }
 }
Exemplo n.º 3
0
 public void setDescription(string description, string email)
 {
     if (isValidDescription(description))
     {
         if (isAssignedUser(email))
         {
             this.description = description;
             //Updating database
             dataTaskController DTC = new dataTaskController();
             DTC.Update(boardId, key, "description", description);
         }
     }
 }
Exemplo n.º 4
0
 public void setDueDate(DateTime dueDate, string email)
 {
     if (isValidDueDate(dueDate, DateTime.Now))
     {
         if (isAssignedUser(email))
         {
             this.dueDate = dueDate;
             //Updating database
             dataTaskController DTC = new dataTaskController();
             DTC.Update(boardId, key, "dueDate", dueDate);
         }
     }
 }
Exemplo n.º 5
0
 public void setTitle(string title, string email)
 {
     if (isValidTitle(title))
     {
         if (isAssignedUser(email))
         {
             this.title = title;
             //Updating database
             dataTaskController DTC = new dataTaskController();
             DTC.Update(boardId, key, "title", title);
         }
     }
 }