public async Task DeleteUserAsync(User theUser) { await ConnectionAsync.DeleteAsync(theUser.ToDTO()); }
public async Task UpdateUserAsync(User theUser) { await ConnectionAsync.UpdateAsync(theUser.ToDTO()); }
public void UpdateUser(User theUser) { Connection.Update(theUser.ToDTO()); }
public async Task<int> AddUserAsync(User theUser) { return await ConnectionAsync.InsertAsync(theUser.ToDTO()); }
public int AddUser(User theUser) { return Connection.Insert(theUser.ToDTO()); }