Ejemplo n.º 1
0
        public async Task GetListAsync_ShouldWorkProperly_WithDefaultParameters()
        {
            var list = await blogPostAdminAppService.GetListAsync(new PagedAndSortedResultRequestDto());

            list.ShouldNotBeNull();
            list.TotalCount.ShouldBe(2);
            list.Items.ShouldNotBeEmpty();
            list.Items.Count.ShouldBe(2);
        }
    public async Task GetListAsync_ShouldWorkProperly_WithDefaultParameters()
    {
        var list = await blogPostAdminAppService.GetListAsync(new BlogPostGetListInput());

        list.ShouldNotBeNull();
        list.TotalCount.ShouldBe(2);
        list.Items.ShouldNotBeEmpty();
        list.Items.Count.ShouldBe(2);
    }
Ejemplo n.º 3
0
 public virtual Task <PagedResultDto <BlogPostListDto> > GetListAsync(BlogPostGetListInput input)
 {
     return(BlogPostAdminAppService.GetListAsync(input));
 }
Ejemplo n.º 4
0
 public virtual Task <PagedResultDto <BlogPostDto> > GetListAsync(PagedAndSortedResultRequestDto input)
 {
     return(BlogPostAdminAppService.GetListAsync(input));
 }