public async Task Should_Get_Common_User() { var commonUser = await _service.GetListAsync(new CommonUserFilter()); commonUser.TotalCount.ShouldBe(1); commonUser.Items[0].Email.ShouldBe("*****@*****.**"); }
public async Task <PagedResultDto <CommonUserDto> > GetListAsync(CommonUserFilter filter) { return(await _service.GetListAsync(filter)); }