/// <summary> /// SchulungController Konstruktor legt Repositories für Datenzugriff an. /// </summary> public AnmeldungApiController(ApplicationDbContext context, ISchulungsportalEmailSender emailSender, IMapper mapper) { _schulungRepository = new SchulungRepository(context); _anmeldungRepository = new AnmeldungRepository(context, mapper); _context = context; _mapper = mapper; this.emailSender = emailSender; }
public MailingHelper(IRazorViewToStringRenderer viewRenderer, ISchulungsportalEmailSender emailSender) { this.viewRenderer = viewRenderer; this.emailSender = emailSender; }