Esempio n. 1
0
        public void Insert(string Description, DateTime?DateAdded, bool Deleted)
        {
            CommitteeLib item = new CommitteeLib();

            item.Description = Description;

            item.DateAdded = DateAdded;

            item.Deleted = Deleted;


            item.Save(UserName);
        }
Esempio n. 2
0
        public void Update(int Id, string Description, DateTime?DateAdded, bool Deleted)
        {
            CommitteeLib item = new CommitteeLib();

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

            item.Id = Id;

            item.Description = Description;

            item.DateAdded = DateAdded;

            item.Deleted = Deleted;

            item.Save(UserName);
        }
Esempio n. 3
0
 public bool Destroy(object Id)
 {
     return(CommitteeLib.Destroy(Id) == 1);
 }
Esempio n. 4
0
 public bool Delete(object Id)
 {
     return(CommitteeLib.Delete(Id) == 1);
 }