public void Insert(string TypeName, string Description) { DDCertType item = new DDCertType(); item.TypeName = TypeName; item.Description = Description; item.Save(UserName); }
public void Update(int TypeID, string TypeName, string Description) { DDCertType item = new DDCertType(); item.MarkOld(); item.IsLoaded = true; item.TypeID = TypeID; item.TypeName = TypeName; item.Description = Description; item.Save(UserName); }