public void Insert(string StatusCode,string StatusName) { LStatus item = new LStatus(); item.StatusCode = StatusCode; item.StatusName = StatusName; item.Save(UserName); }
public void Update(string StatusCode,string StatusName) { LStatus item = new LStatus(); item.MarkOld(); item.IsLoaded = true; item.StatusCode = StatusCode; item.StatusName = StatusName; item.Save(UserName); }