忽略dll文件git

This commit is contained in:
“wanyongkang”
2023-07-29 10:19:42 +08:00
parent 7f97317bcc
commit b562aba2b1
3868 changed files with 63608 additions and 385427 deletions

View File

@@ -1,25 +1,25 @@
using Hncore.Infrastructure.Service;
using Hncore.Pass.Vpn.Domain;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hncore.Pass.Vpn.Service
{
public partial class ArticleService : ServiceBase<ArticleEntity>, IFindService
{
CourseContext m_DbContext;
public ArticleService(CourseContext dbContext, IHttpContextAccessor httpContextAccessor) : base(dbContext, httpContextAccessor)
{
m_DbContext = dbContext;
}
public async Task<List<ArticleEntity>> GetTop(int top, ArticleCatalog catalog)
{
return await this.Query(m => m.CatalogId == catalog).OrderByDescending(m => m.Id).Take(top).ToListAsync();
}
}
}
using Hncore.Infrastructure.Service;
using Hncore.Pass.Vpn.Domain;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hncore.Pass.Vpn.Service
{
public partial class ArticleService : ServiceBase<ArticleEntity>, IFindService
{
CourseContext m_DbContext;
public ArticleService(CourseContext dbContext, IHttpContextAccessor httpContextAccessor) : base(dbContext, httpContextAccessor)
{
m_DbContext = dbContext;
}
public async Task<List<ArticleEntity>> GetTop(int top, ArticleCatalog catalog)
{
return await this.Query(m => m.CatalogId == catalog).OrderByDescending(m => m.Id).Take(top).ToListAsync();
}
}
}