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); }