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