public MailService(MegyekDbContext dbContext , IEmailsSender emailsSender , IParticipationTextProvider participationTextProvider , IEventRepo eventRepo ) { this.dbContext = dbContext; this.emailsSender = emailsSender; this.participationTextProvider = participationTextProvider; this.eventRepo = eventRepo; }
public IndexModel (IMeProvider meProvider , IEventRepo eventRepo , IMembershipRepo membershipRepo , IParticipationRepo participationRepo , IParticipationTextProvider participationTextProvider , IPostRepo postRepo , IMailService mailService ) { //this.dbContext = dbContext; this.meProvider = meProvider; this.eventRepo = eventRepo; this.membershipRepo = membershipRepo; this.participationRepo = participationRepo; this.participationTextProvider = participationTextProvider; this.postRepo = postRepo; this.mailService = mailService; }