public void Insert(string Ip) { PhpssIp item = new PhpssIp(); item.Ip = Ip; item.Save(UserName); }
public void Update(int Id, string Ip) { PhpssIp item = new PhpssIp(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.Ip = Ip; item.Save(UserName); }