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