public int SaveOwner(Models.Owner owner) { if (owner.InternalId == 1) { return(database.Insert(owner)); } else { return(database.Update(owner)); } }
public void UpdateOwner(Models.Owner owner) { database.Update(owner); }
public int SaveOwner(Models.Owner owner) { if (owner.InternalId == 1) { return(database.Insert(owner)); } else { return(database.Update(owner)); } }
public void UpdateOwner(Models.Owner owner) { database.Update(owner); }