public void Should_All_Organizations() { var data = _organizationAppService.GetAll(new GetAllInput()); Assert.Equal(2, data.TotalCount); }
public Task <PagedResultDto <OrganizationDto> > GetAll(GetOrganizationInputDto input) { return(_organizationAppService.GetAll(input)); }
public IActionResult GetAll([FromQuery] GetAllInput input) { var list = _organizationAppService.GetAll(input); return(Result(list)); }