public WriterService(PufDbContext context) { this.context = context; }
public MailService(PufDbContext context, IOptions <Settings> options) { this.context = context; mailConfiguration = options.Value.Mail; }