public AccountsController(IMapper mapper, PostgresDatabaseContext context, IWebHostEnvironment environment, IAccountRepository repo) { _repo = repo; _context = context; _mapper = mapper; _hostingEnvironment = environment; _repo = repo; }
/** * Data that gets generated by test things */ public static void PopulateTestData(PostgresDatabaseContext dbContext) { dbContext.Accounts.Add(new Account { Email = "*****@*****.**", FirstName = "Oetze", MiddleName = "van den", LastName = "Broek" }); }
public ImagesController(IMapper mapper, PostgresDatabaseContext context, IWebHostEnvironment environment, IAccountRepository accountRepo, ICompanyRepository companyRepo) { _mapper = mapper; _context = context; _hostingEnvironment = environment; _accountRepo = accountRepo; _companyRepo = companyRepo; }
public PermissionRolesController(IMapper mapper, PostgresDatabaseContext context) { _mapper = mapper; _context = context; }
public TodoRepository(PostgresDatabaseContext context) { _context = context; }
public EventsController(PostgresDatabaseContext context) { _context = context; }
public ArticlesController(PostgresDatabaseContext context) { _context = context; }
public PostgresRepository(PostgresDatabaseContext context) : base(context) { }
public UsersController(PostgresDatabaseContext context) { _context = context; }
public CustomerRepository(PostgresDatabaseContext context) : base(context) { }
public CompaniesController(ICompanyRepository repo, IMapper mapper, PostgresDatabaseContext context) { _repo = repo; _mapper = mapper; _context = context; }
public CompanyRepository(PostgresDatabaseContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public ParticipantsController(PostgresDatabaseContext context) { _context = context; }
public GroupsController(PostgresDatabaseContext context) { _context = context; }