public UnitOfWork(FlowerbedDbContext flowerbedDbContext) { _flowerbedDbContext = flowerbedDbContext; }
public HomeController(ILogger <HomeController> logger, FlowerbedDbContext context) { _unitOfWork = context; _logger = logger; }
public Repository(FlowerbedDbContext repositoryContext) { this.repositoryContext = repositoryContext; this.flowerbedDb = repositoryContext.Set <TEntity>(); }