View Code? Open in Web Editor
NEW
A RESTful API template in C#/.Net Core with Microsoft SQL Server as the database
License: MIT License
C# 99.65%
Dockerfile 0.35%
csharp-api-template's Introduction
![](https://camo.githubusercontent.com/337869fc265db715bc53051fde314a89ceca0b18719f672ce90b57ff305ba460/68747470733a2f2f6d65646961312e67697068792e636f6d2f6d656469612f31334867774773584630616947592f67697068792e676966)
- ๐ฑ
Currently learning microservices
- ๐ญ Looking for collaborators
![Profile Views](https://camo.githubusercontent.com/98c4e9a0d85a13a5b3ae1e48607aa8cd2b9ef2f8e420e4c74d6a12d9cc755aea/68747470733a2f2f6b6f6d617265762e636f6d2f67687076632f3f757365726e616d653d456e69734d756c6963)
csharp-api-template's People
Contributors
Watchers
csharp-api-template's Issues
|
protected async Task<PagedResponse<TModel>> GetPagedResponse(List<TModel> list, PaginationQuery pagination) |
|
{ |
|
int count = await _context.Set<TDatabase>() |
|
.AsNoTracking() |
|
.CountAsync(); |
|
|
|
return PaginationHelper.CreatePaginatedResponse(_uriService, pagination, list, count); |
|
} |
Amazing template mate! Thank you for this.