public void Insert(int TestTypeId, string TestDataId, decimal Price) { BangGium item = new BangGium(); item.TestTypeId = TestTypeId; item.TestDataId = TestDataId; item.Price = Price; item.Save(UserName); }
public void Update(int Id, int TestTypeId, string TestDataId, decimal Price) { BangGium item = new BangGium(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.TestTypeId = TestTypeId; item.TestDataId = TestDataId; item.Price = Price; item.Save(UserName); }
public bool Destroy(object Id) { return(BangGium.Destroy(Id) == 1); }
public bool Delete(object Id) { return(BangGium.Delete(Id) == 1); }