protected override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            if (_profileRepository == null) _profileRepository = new ProfileRepository();
            if (_coreDataRepository == null) _coreDataRepository = new CoreDataRepository();
            if (_lookUpsRepository == null) _lookUpsRepository = new LookUpsRepository();

            base.OnActionExecuting(filterContext);
        }
 public ProfilesAndIndicatorsController(ProfileRepository profileRepository, LookUpsRepository lookUpsRepository, CoreDataRepository coreDataRepository)
 {
     _profileRepository = profileRepository;
     _lookUpsRepository = lookUpsRepository;
     _coreDataRepository = coreDataRepository;
 }
 public void Init()
 {
     _lookUpsRepository = new LookUpsRepository();
 }
 public void Init()
 {
     _coreDataRepository = new CoreDataRepository();
     _lookUpsRepository = new LookUpsRepository();
     _profileRepository = new ProfileRepository();
 }
        protected override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            if (_lookUpsRepository == null) _lookUpsRepository = new LookUpsRepository();

            base.OnActionExecuting(filterContext);
        }
        protected override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            _profileRepository = new ProfileRepository();
            _userRepository = new UserRepository();
            _lookUpsRepository = new LookUpsRepository();

            base.OnActionExecuting(filterContext);
        }