public void Should_All_Organizations()
        {
            var data = _organizationAppService.GetAll(new GetAllInput());

            Assert.Equal(2, data.TotalCount);
        }
示例#2
0
 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));
        }