Exemplo n.º 1
0
 public UnitOfWork(FlowerbedDbContext flowerbedDbContext)
 {
     _flowerbedDbContext = flowerbedDbContext;
 }
Exemplo n.º 2
0
 public HomeController(ILogger <HomeController> logger, FlowerbedDbContext context)
 {
     _unitOfWork = context;
     _logger     = logger;
 }
Exemplo n.º 3
0
 public Repository(FlowerbedDbContext repositoryContext)
 {
     this.repositoryContext = repositoryContext;
     this.flowerbedDb       = repositoryContext.Set <TEntity>();
 }