Пример #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);
        }
Пример #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);
        }
Пример #3
0
 public bool Destroy(object Id)
 {
     return(CommitteeLib.Destroy(Id) == 1);
 }
Пример #4
0
 public bool Delete(object Id)
 {
     return(CommitteeLib.Delete(Id) == 1);
 }