public void Insert(string MaDichvu, int Nam, int Stt) { DmucMahoamauKiemnghiem item = new DmucMahoamauKiemnghiem(); item.MaDichvu = MaDichvu; item.Nam = Nam; item.Stt = Stt; item.Save(UserName); }
public void Update(long Id, string MaDichvu, int Nam, int Stt) { DmucMahoamauKiemnghiem item = new DmucMahoamauKiemnghiem(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.MaDichvu = MaDichvu; item.Nam = Nam; item.Stt = Stt; item.Save(UserName); }