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