Пример #1
0
 public GetEntriesController(IPetService petService, IDateValidation dateValidation)
 {
     _dateValidation = dateValidation;
     _petService     = petService;
     currentUser     = User;
     EntryConstants  = new EntryTypeConstants();
 }
Пример #2
0
 public DateController(IDateValidation dateValidation, IDateParser dateParser, ICalculateDateRange calculateDateRange, DateView view)
 {
     _dateValidation     = dateValidation;
     _dateParser         = dateParser;
     _calculateDateRange = calculateDateRange;
     _view = view;
 }