PagedResultDto.cs 325 B

12345678910111213141516
  1. using System.Collections.Generic;
  2. namespace Blazor.App.Dtos
  3. {
  4. public class PagedResultDto<T> where T : class
  5. {
  6. public int TotalCount { get; set; }
  7. public List<T> Items { get; set; }
  8. }
  9. public class ListResultDto<T> where T : class
  10. {
  11. public List<T> Items { get; set; }
  12. }
  13. }