public void Insert(string Ip, string Access) { PhpssIpaccess item = new PhpssIpaccess(); item.Ip = Ip; item.Access = Access; item.Save(UserName); }
public void Update(string Ip, string Access, int Id) { PhpssIpaccess item = new PhpssIpaccess(); item.MarkOld(); item.IsLoaded = true; item.Ip = Ip; item.Access = Access; item.Id = Id; item.Save(UserName); }
public bool Destroy(object Id) { return(PhpssIpaccess.Destroy(Id) == 1); }
public bool Delete(object Id) { return(PhpssIpaccess.Delete(Id) == 1); }