Exemplo n.º 1
0
 public CategoryBL(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _BusinessBase = new BusinessBase <Category>(serviceProvider);
     _context      = serviceProvider.GetRequiredService <GrubNowDbContext>();
 }
Exemplo n.º 2
0
 public BlogBL(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _BusinessBase = new BusinessBase <Blogs>(serviceProvider);
     response      = new BaseResponse();
     _context      = serviceProvider.GetRequiredService <GrubNowDbContext>();
 }