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; }
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; }