Ejemplo n.º 1
0
 public IEnumerable <ProductDTO> Products(int pageIndex, int pageCount)
 {
     return(_salesAppService.FindProducts(pageIndex, pageCount));
 }
Ejemplo n.º 2
0
 /// <summary>
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </summary>
 /// <param name="pageIndex">
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </param>
 /// <param name="pageCount">
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </param>
 /// <returns>
 ///    <see
 ///       cref="Microsoft.Samples.NLayerApp.Application.MainBoundedContext.BankingModule.Services.IMainBoundedContextService" />
 /// </returns>
 public List <ProductDto> FindProductsInPage(int pageIndex, int pageCount)
 {
     return(_salesAppService.FindProducts(pageIndex, pageCount));
 }