Example #1
0
        public async Task GetListAsyncTest()
        {
            var result = await _npsServerService.SearchAsync(new Core.Data.PagingInput <Application.Nps.Dtos.NpsServerSearchInput>
            {
                PageIndex = 1,
                PageSize  = 10,
                Filter    = new Application.Nps.Dtos.NpsServerSearchInput
                {
                    ServerIPAddress = "8.131.77.125"
                }
            });

            Assert.NotNull(result);
        }
Example #2
0
 public async Task <IExecuteResult> SearchAsync(PagingInput <NpsServerSearchInput> input)
 {
     return(ExecuteResult.Ok(await _npsServerService.SearchAsync(input)));
 }