File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public interface IDownloadCatalogService : IFiscalApiService<CatalogDto>
1313 Task < ApiResponse < List < string > > > GetListAsync ( ) ;
1414
1515
16- // /api/v4/download-catalogs/<catalogName>
17- Task < ApiResponse < List < CatalogDto > > > GetRecordByNameAsync ( string catalogName ) ;
16+ // /api/v4/download-catalogs/<catalogName> ListCatalog
17+ Task < ApiResponse < List < CatalogDto > > > ListCatalogAsync ( string catalogName ) ;
1818 }
1919}
Original file line number Diff line number Diff line change 66
77namespace Fiscalapi . Services
88{
9-
109 public class DownloadCatalogService : BaseFiscalApiService < CatalogDto > , IDownloadCatalogService
1110 {
1211 public DownloadCatalogService ( IFiscalApiHttpClient httpClient , string apiVersion )
@@ -72,18 +71,16 @@ public Task<ApiResponse<List<string>>> GetListAsync()
7271
7372
7473 /// <summary>
75- /// Recupera un registro de un catálogo por catalogName .
74+ /// Lista todos los registros de un catálogo pasando el nombre del catálogo .
7675 /// </summary>
7776 /// <param name="catalogName">Nombre del catálogo</param>
78- /// <returns>CatalogDto</returns>
79- public Task < ApiResponse < List < CatalogDto > > > GetRecordByNameAsync ( string catalogName )
77+ /// <returns>Lista de CatalogDto</returns>
78+ public Task < ApiResponse < List < CatalogDto > > > ListCatalogAsync ( string catalogName )
8079 {
80+ // api/v4/download-catalogs/<catalogName>/
8181 var path = $ "{ catalogName } ";
8282 var endpoint = BuildEndpoint ( path ) ;
83- // api/v4/download-catalogs/<catalogName>/
8483 return HttpClient . GetAsync < List < CatalogDto > > ( endpoint ) ;
8584 }
86-
87-
8885 }
89- }
86+ }
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFrameworks >netstandard2.0;net461;net48;netcoreapp3.1;net5.0;net6.0;net8.0</TargetFrameworks >
5- <Version >4.0.268 </Version >
5+ <Version >4.0.269 </Version >
66 <AssemblyVersion >$(Version)</AssemblyVersion >
77 <FileVersion >$(Version)</FileVersion >
88 <PackageVersion >$(Version)</PackageVersion >
You can’t perform that action at this time.
0 commit comments