public void Insert(int TaskID, int UserID)
        {
            TaskAssignment item = new TaskAssignment();

            item.TaskID = TaskID;

            item.UserID = UserID;


            item.Save(UserName);
        }
        public void Update(int TaskID, int UserID)
        {
            TaskAssignment item = new TaskAssignment();

            item.MarkOld();
            item.IsLoaded = true;

            item.TaskID = TaskID;

            item.UserID = UserID;

            item.Save(UserName);
        }
 public bool Destroy(object TaskID)
 {
     return(TaskAssignment.Destroy(TaskID) == 1);
 }
 public bool Delete(object TaskID)
 {
     return(TaskAssignment.Delete(TaskID) == 1);
 }