Ejemplo n.º 1
0
 public BookInstController(IBookInstRepo repo, IMapper mapper, IBookInstResourceClientValidator resourceClientValidator, IBookDefRepo definitionRepo, IUnitOfWork uow)
 {
     this.uow                     = uow;
     this.definitionRepo          = definitionRepo;
     this.resourceClientValidator = resourceClientValidator;
     this.mapper                  = mapper;
     this.repo                    = repo;
 }
Ejemplo n.º 2
0
 public PhotosController(IHostingEnvironment host, IBookInstRepo repo, IUnitOfWork uow, IMapper mapper, IOptionsSnapshot <PhotoSettings> options, IPhotoRepo photoRepo, IConfiguration config)
 {
     this.photoRepo     = photoRepo;
     this.photoSettings = options.Value;
     this.mapper        = mapper;
     this.uow           = uow;
     this.bookInstRepo  = repo;
     this.host          = host;
 }