Пример #1
0
        public void Insert(int?IdDichVu, string TenDv, int?IdNhom, int?LaTriSo)
        {
            LHisDichvu item = new LHisDichvu();

            item.IdDichVu = IdDichVu;

            item.TenDv = TenDv;

            item.IdNhom = IdNhom;

            item.LaTriSo = LaTriSo;


            item.Save(UserName);
        }
Пример #2
0
        public void Update(int Id, int?IdDichVu, string TenDv, int?IdNhom, int?LaTriSo)
        {
            LHisDichvu item = new LHisDichvu();

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

            item.Id = Id;

            item.IdDichVu = IdDichVu;

            item.TenDv = TenDv;

            item.IdNhom = IdNhom;

            item.LaTriSo = LaTriSo;

            item.Save(UserName);
        }
Пример #3
0
 public bool Destroy(object Id)
 {
     return(LHisDichvu.Destroy(Id) == 1);
 }
Пример #4
0
 public bool Delete(object Id)
 {
     return(LHisDichvu.Delete(Id) == 1);
 }