예제 #1
0
 public ValuesController(IMapper mapper, NarojayContext context) : base(mapper)
 {
     _context = context;
 }
예제 #2
0
 public ArticleRepository(NarojayContext context) : base(context, context.Articles)
 {
 }
예제 #3
0
 public ArticleManager(ArticleRepository articleRepository, IMapper mapper, ILogger <ArticleManager> logger, NarojayContext context) : base(articleRepository, mapper)
 {
     _logger  = logger;
     _context = context;
 }
예제 #4
0
 public UnitOfWork(NarojayContext context)
 {
     Context = context;
 }
예제 #5
0
 protected BaseRepository(NarojayContext context, DbSet <TModel> dbSet)
 {
     DbContext = context;
     DbSet     = dbSet;
 }
예제 #6
0
 public GuestBookRepository(NarojayContext context) : base(context, context.GuestBooks)
 {
 }
예제 #7
0
 public ArticleController(IArticleManager articleManager, IMapper mapper, NarojayContext context) : base(mapper)
 {
     _articleManager = articleManager;
     _context        = context;
 }
예제 #8
0
 public CatalogRepository(NarojayContext context) : base(context, context.Catalogs)
 {
 }