private readonly SoftDeleteLibraryDbContext _context; // БД.

        // Конструктор.
        public CategoriesController(SoftDeleteLibraryDbContext context)
        {
            _context = context;
        } // ctorf.
        private readonly SoftDeleteLibraryDbContext _context; // БД.

        public AuthorsController(SoftDeleteLibraryDbContext context)
        {
            _context = context;
        } // ctorf.
Example #3
0
 // Конструктор.
 public QueriesService(SoftDeleteLibraryDbContext libraryDbContext)
 {
     _libraryDbContext = libraryDbContext;
 } // QueriesService.