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