예제 #1
0
 public CategoryBL(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _BusinessBase = new BusinessBase <Category>(serviceProvider);
     _context      = serviceProvider.GetRequiredService <GrubNowDbContext>();
 }
예제 #2
0
파일: BlogBL.cs 프로젝트: gabod2000/grubNow
 public BlogBL(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _BusinessBase = new BusinessBase <Blogs>(serviceProvider);
     response      = new BaseResponse();
     _context      = serviceProvider.GetRequiredService <GrubNowDbContext>();
 }