public void Update(int Id, string Subject, string Content, bool?Deleted, DateTime Createdon, DateTime?Modifiedon, string Createdby, string Modifiedby) { Helparticle item = new Helparticle(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.Subject = Subject; item.Content = Content; item.Deleted = Deleted; item.Createdon = Createdon; item.Modifiedon = Modifiedon; item.Createdby = Createdby; item.Modifiedby = Modifiedby; item.Save(UserName); }
public void Insert(string Subject, string Content, bool?Deleted, DateTime Createdon, DateTime?Modifiedon, string Createdby, string Modifiedby) { Helparticle item = new Helparticle(); item.Subject = Subject; item.Content = Content; item.Deleted = Deleted; item.Createdon = Createdon; item.Modifiedon = Modifiedon; item.Createdby = Createdby; item.Modifiedby = Modifiedby; item.Save(UserName); }
public bool Destroy(object Id) { return(Helparticle.Destroy(Id) == 1); }
public bool Delete(object Id) { return(Helparticle.Delete(Id) == 1); }