public void Insert(string IdDichVu, string TenDv, string IdNhom, int?LaTriSo) { LHisDichvu item = new LHisDichvu(); item.IdDichVu = IdDichVu; item.TenDv = TenDv; item.IdNhom = IdNhom; item.LaTriSo = LaTriSo; item.Save(UserName); }
public void Update(int Id, string IdDichVu, string TenDv, string 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); }