public EntreeController(IMapper mapper, IEntreeRepository entreeRepository, IUserRepository userRepository, IUnitOfWork uow)
 {
     this._userRepository   = userRepository;
     this._uow              = uow;
     this._entreeRepository = entreeRepository;
     this._mapper           = mapper;
 }
Esempio n. 2
0
 public StapleFoodController(
     IMapper mapper,
     IStapleFoodRepository StapleFoodRepository,
     IUserRepository userRepository,
     IEntreeRepository entreeRepository,
     IUnitOfWork uow
     )
 {
     this._userRepository       = userRepository;
     this._uow                  = uow;
     this._stapleFoodRepository = StapleFoodRepository;
     this._mapper               = mapper;
 }
Esempio n. 3
0
 public EntreePhotoController(
     IHostingEnvironment host,
     IMapper mapper,
     IEntreePhotoRepository entreePhotoRepository,
     IEntreeRepository entreeRepository,
     IOptionsSnapshot <PhotoSettings> options,
     IUnitOfWork uow)
 {
     this._host = host;
     this._entreePhotoRepository = entreePhotoRepository;
     this._entreeRepository      = entreeRepository;
     this._photoSettings         = options.Value;
     this._uow    = uow;
     this._mapper = mapper;
 }