예제 #1
0
		public async Task DeleteUserAsync(User theUser)
		{
			await ConnectionAsync.DeleteAsync(theUser.ToDTO());
		}
예제 #2
0
		public async Task UpdateUserAsync(User theUser)
		{
			await ConnectionAsync.UpdateAsync(theUser.ToDTO());
		}
예제 #3
0
		public void UpdateUser(User theUser)
		{
			Connection.Update(theUser.ToDTO());
		}
예제 #4
0
		public async Task<int> AddUserAsync(User theUser)
		{
			return await ConnectionAsync.InsertAsync(theUser.ToDTO());
		}
예제 #5
0
		public int AddUser(User theUser)
		{
			return Connection.Insert(theUser.ToDTO());
		}