Beispiel #1
0
 public Task addTask(string Name, DateTime CreatedDate, DateTime Enddate, string Description)
 {
     if (mID == "") return null;
     else{
         Task t = new Task();
         t.WorkPackageID = mID;
         t.Name = Name;
         t.CreatedDate = CreatedDate;
         t.EndDate = Enddate;
         t.Description = Description;
         t.Save();
         return t;
     }
 }