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