public ValuesController(IMapper mapper, NarojayContext context) : base(mapper) { _context = context; }
public ArticleRepository(NarojayContext context) : base(context, context.Articles) { }
public ArticleManager(ArticleRepository articleRepository, IMapper mapper, ILogger <ArticleManager> logger, NarojayContext context) : base(articleRepository, mapper) { _logger = logger; _context = context; }
public UnitOfWork(NarojayContext context) { Context = context; }
protected BaseRepository(NarojayContext context, DbSet <TModel> dbSet) { DbContext = context; DbSet = dbSet; }
public GuestBookRepository(NarojayContext context) : base(context, context.GuestBooks) { }
public ArticleController(IArticleManager articleManager, IMapper mapper, NarojayContext context) : base(mapper) { _articleManager = articleManager; _context = context; }
public CatalogRepository(NarojayContext context) : base(context, context.Catalogs) { }