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); }
public bool Destroy(object StatusCode) { return(LStatus.Destroy(StatusCode) == 1); }
public bool Delete(object StatusCode) { return(LStatus.Delete(StatusCode) == 1); }