public TimeRegistrationController(
            IRepository<MainRecord> mainRepository,
            IAuthenticationService authenticationService,
            IMembershipService membershipService,
            IOrchardServices orchardServices,
            IContentManager contentManager,
            ITimeRegistrationService timeRegistrationService)
        {
            _authenticationService = authenticationService;
            _membershipService = membershipService;
            _orchardServices = orchardServices;
            _contentManager = contentManager;
            _timeRegistrationService = timeRegistrationService;

            Logger = NullLogger.Instance;
            T = NullLocalizer.Instance;
        }
        public TimeRegistrationController(
            IRepository <MainRecord> mainRepository,
            IAuthenticationService authenticationService,
            IMembershipService membershipService,
            IOrchardServices orchardServices,
            IContentManager contentManager,
            ITimeRegistrationService timeRegistrationService)
        {
            _authenticationService   = authenticationService;
            _membershipService       = membershipService;
            _orchardServices         = orchardServices;
            _contentManager          = contentManager;
            _timeRegistrationService = timeRegistrationService;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;
        }
 public TimeRegistrationController(ITimeRegistrationService timeRegistrationService, IMapper mapper)
 {
     _timeRegistrationService = timeRegistrationService;
     _mapper = mapper;
 }
 public TimeRegistrationsController(ITimeRegistrationService timeRegistrationService)
 {
     _timeRegistrationService = timeRegistrationService ?? throw new ArgumentNullException(nameof(timeRegistrationService), "A valid Time Registration service must be supplied");
 }