public async Task VerifyGetAllUsers() { await _manageUser.GetAllUsers(); _userRepository.Verify(r => r.GetAllUsers(), Times.Once); }
public async Task <IActionResult> GetAllUsers() { return(Ok(await _manageUser.GetAllUsers())); }