public ChildReportsService(IChildrenReportsRepository childrenReportsRepository,
     IEmailService emailService)
 {
     _childrenReportsRepository = childrenReportsRepository;
     _emailService = emailService;
 }
Exemplo n.º 2
0
 public ReportController()
 {
     _childrenReportsRepository = new ChildrenReportsRepository();
     IBirthdayAndAnniversaryRepository birthdayAndAnniversaryRepository = new BirthdayAndAniversaryRepository();
     _birthdayAndAnniversaryService = new BirthdayAndAnniversaryService(birthdayAndAnniversaryRepository);
 }