Skip to content

Commit a6158dc

Browse files
committed
Version 4.0.87
1 parent 6039b43 commit a6158dc

34 files changed

+110
-90
lines changed

Abstractions/BaseFiscalApiService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
using FiscalApi.Http;
21
using System;
32
using System.Threading.Tasks;
4-
using FiscalApi.Common;
53
using System.Collections.Generic;
64
using System.Linq;
5+
using Fiscalapi.Common;
6+
using Fiscalapi.Http;
77

8-
namespace FiscalApi.Abstractions
8+
namespace Fiscalapi.Abstractions
99
{
1010
public abstract class BaseFiscalApiService<T> : IFiscalApiService<T> where T : BaseDto
1111
{

Abstractions/IApiKeyService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using FiscalApi.Models;
1+
using Fiscalapi.Models;
22

3-
namespace FiscalApi.Abstractions
3+
namespace Fiscalapi.Abstractions
44
{
55
public interface IApiKeyService : IFiscalApiService<ApiKey>
66
{

Abstractions/ICatalogService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Collections.Generic;
22
using System.Threading.Tasks;
3-
using FiscalApi.Common;
3+
using Fiscalapi.Common;
44

5-
namespace FiscalApi.Abstractions
5+
namespace Fiscalapi.Abstractions
66
{
77
public interface ICatalogService : IFiscalApiService<CatalogDto>
88
{

Abstractions/IFiscalApiClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace FiscalApi.Abstractions
1+
namespace Fiscalapi.Abstractions
22
{
33
public interface IFiscalApiClient
44
{

Abstractions/IFiscalApiService.cs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
using System.Threading.Tasks;
2-
using FiscalApi.Common;
2+
using Fiscalapi.Common;
33

4-
namespace FiscalApi.Abstractions
4+
namespace Fiscalapi.Abstractions
55
{
6-
//public interface IFiscalApiService<T> where T : BaseDto
7-
//{
8-
// Task<ApiResponse<PagedList<T>>> GetListAsync(bool includeDetails = false);
9-
// Task<ApiResponse<T>> GetByIdAsync(string id, bool includeDetails = false);
10-
// Task<ApiResponse<T>> CreateAsync(T model);
11-
// Task<ApiResponse<T>> UpdateAsync(string id, T model);
12-
// Task<ApiResponse<bool>> DeleteAsync(string id);
13-
//}
14-
156
public interface IFiscalApiService<T> where T : BaseDto
167
{
178
Task<ApiResponse<PagedList<T>>> GetListAsync(int pageNumber, int pageSize);

Abstractions/IInvoiceService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Threading.Tasks;
2-
using FiscalApi.Common;
3-
using FiscalApi.Models;
2+
using Fiscalapi.Common;
3+
using Fiscalapi.Models;
44

5-
namespace FiscalApi.Abstractions
5+
namespace Fiscalapi.Abstractions
66
{
77
public interface IInvoiceService : IFiscalApiService<Invoice>
88
{

Abstractions/IPersonService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System.Collections.Generic;
2-
using FiscalApi.Models;
32
using System.Threading.Tasks;
4-
using FiscalApi.Common;
3+
using Fiscalapi.Common;
4+
using Fiscalapi.Models;
55

6-
namespace FiscalApi.Abstractions
6+
namespace Fiscalapi.Abstractions
77
{
88
public interface IPersonService : IFiscalApiService<Person>
99
{

Abstractions/IProductService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System.Collections.Generic;
22
using System.Threading.Tasks;
3-
using FiscalApi.Common;
4-
using FiscalApi.Models;
3+
using Fiscalapi.Common;
4+
using Fiscalapi.Models;
55

6-
namespace FiscalApi.Abstractions
6+
namespace Fiscalapi.Abstractions
77
{
88
public interface IProductService : IFiscalApiService<Product>
99
{

Common/ApiResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace FiscalApi.Common
1+
namespace Fiscalapi.Common
22
{
33
public class ApiResponse<T>
44
{

Common/BaseDto.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace FiscalApi.Common
3+
namespace Fiscalapi.Common
44
{
55
public abstract class BaseDto
66
{

0 commit comments

Comments
 (0)