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