public void Insert(string Description, int?Visible, int?IsOperation) { DDTicketStatus item = new DDTicketStatus(); item.Description = Description; item.Visible = Visible; item.IsOperation = IsOperation; item.Save(UserName); }
public void Update(int StatusID, string Description, int?Visible, int?IsOperation) { DDTicketStatus item = new DDTicketStatus(); item.MarkOld(); item.IsLoaded = true; item.StatusID = StatusID; item.Description = Description; item.Visible = Visible; item.IsOperation = IsOperation; item.Save(UserName); }