public async Task Delete_Should_remove_a_user_by_id() { var users = InsertUsersToTests(); var userToRemove = users.Result.Last(); await _repository.Delete(userToRemove); var actual = await _repository.GetUserById(userToRemove.Id); Assert.IsNull(actual); }
public async Task DeleteUserAsync(Guid id) { await userServiceRepository.Delete(id); }