public HomeService( IUnitOfwork unitOfWork, IMapper mapper) { _unitOfWork = unitOfWork; _mapper = mapper; }
public AccountService(SignInManager <IdentityUser> signInManager, UserManager <IdentityUser> userManager, IHttpContextAccessor httpContextAccessor, IUnitOfwork unitOfWork) { _userManager = userManager; _signInManager = signInManager; _httpContextAccessor = httpContextAccessor; _unitOfWork = unitOfWork; }
public AdminService( IUnitOfwork unitOfWork, IMapper mapper, ICreateHolesCalculation createHolesCalcultion) { _unitOfWork = unitOfWork; _mapper = mapper; _createHolesCalcultion = createHolesCalcultion; }
public PhotoController(IWebHostEnvironment host, IVehicleRepository repository, IUnitOfwork unitOfwork, IMapper mapper, IOptionsSnapshot <PhotoSettings> options) { this.photoSettings = options.Value; this.host = host; this.repository = repository; this.unitOfwork = unitOfwork; this.mapper = mapper; }
public CoursePageService( IUnitOfwork unitOfWork, IMapper mapper, IScoreCardCalculation scoreCardCalculation, IAccountService accountService) { _mapper = mapper; _scoreCardCalculation = scoreCardCalculation; _accountService = accountService; _unitOfWork = unitOfWork; }
public VideoManagementAppService(IVideoManagementRepository videoManagementRepository, IMail mail, ITransferArchiveControlRepository transferArchiveControlRepository, IUnitOfwork unitOfwork, IMapper mapper) { _videoManagementRepository = videoManagementRepository; _mail = mail; _transferArchiveControlRepository = transferArchiveControlRepository; _unitOfwork = unitOfwork; _mapper = mapper; }
public ScoreCardDtoBuilder( UserManager <IdentityUser> userManager, IHoleCardDtoBuilder holeCardViewModelBuilder, IHttpContextAccessor httpContextAccessor, IUnitOfwork unitOfwork, IAccountService accountService) { _userManager = userManager; _holeCardViewModelBuilder = holeCardViewModelBuilder; _httpContextAccessor = httpContextAccessor; _unitOfwork = unitOfwork; _accountService = accountService; }
public ScoreCardService( ISessionStorage <ScoreCardDto> sessionStorage, IMapper mapper, IScoreCardDtoBuilder scoreCardDtoBuilder, IUnitOfwork unitOfWork, IHttpContextAccessor accessor, UserManager <IdentityUser> userManager) { _sessionStorage = sessionStorage; _mapper = mapper; _scoreCardDtoBuilder = scoreCardDtoBuilder; _sessionKey = EnumHelper.ScoreCardViewModelSessionKey.ScoreCardViewModel.ToString(); _unitOfWork = unitOfWork; _httpContext = accessor; _userManager = userManager; }
public void Setup() { var services = new ServiceCollection(); services.AddSingleton <IConfigurationProvider>(AutoMapperConfiguration.RegisterMappings()); services.AddTransient <IUnitOfwork>(s => new UnitOfWork(new ContextBase())); services.AddScoped <IMapper>(sp => new Mapper(sp.GetRequiredService <IConfigurationProvider>(), sp.GetService)); services.AddScoped <IVideoManagementRepository, VideoManagementRepository>(); services.AddScoped <ITransferArchiveControlRepository, TransferArchiveControlRepository>(); services.AddScoped <IMail, Mail>(); services.AddScoped <ContextBase>(); services.AddScoped <IVideoManagementAppService, VideoManagementAppService>(); var serviceProvider = services.BuildServiceProvider(); _videoManagementAppService = serviceProvider.GetService <IVideoManagementAppService>(); _transferArchiveControlRepository = serviceProvider.GetService <ITransferArchiveControlRepository>(); _unitOfwork = serviceProvider.GetService <IUnitOfwork>(); }
public ServicesTypeController(IUnitOfwork <ServicesType> UnitOfwork) { _UnitOfwork = UnitOfwork; }
public DirectTrustPatientRepository(IUnitOfwork unitOfWork) { this._unitOfWork = unitOfWork; this._procedureManagement = new ProcedureManagement(); }
public Service(IUnitOfwork unitOfwork, IRepository <TEntity> repository) { this._unitOfWork = unitOfwork; this._repository = repository; }
public ProductoLogica(IUnitOfwork unitOfwork) { _unitOfWork = unitOfwork; }
public test(IUnitOfwork uow) { this._uow = uow; }
public Case3Service(IUnitOfwork unitOfWork) { UnitOfWork = unitOfWork; }
public LocationController(IUnitOfwork <Locations> UnitOfwork) { _UnitOfwork = UnitOfwork; }
public UserService(IAccountService accountService, IUnitOfwork unitOfWork, IMapper mapper) { _accountService = accountService; _unitOfWork = unitOfWork; _mapper = mapper; }
public LogicUnitOfWork(IUnitOfwork unitOfWork) { UnitOfWork = unitOfWork; }
public CommonRepository() { this._unitOfWork = new UnitOfWork(); this._procedureManagement = new ProcedureManagement(); }
public VehiclesController(IMapper mapper, IVehicleRepository repository, IUnitOfwork unitOfwork) { this.mapper = mapper; this.repository = repository; this.unitOfwork = unitOfwork; }
public AssignController(IUnitOfwork <Assigns> UnitOfwork) { _UnitOfwork = UnitOfwork; }
public UserService(IUnitOfwork unitOfWork, IRepository <User> repository) : base(unitOfWork, repository) { }
public CopiesLogic(IUnitOfwork unitOfwork) : base(unitOfwork) { }
public EstudianteRep(IUnitOfwork uow) { _uow = uow; _estudianteRep = _uow.Repository <Estudiante>(); }
public AppUsersRepository() { this._unitOfWork = new UnitOfWork(); _ctx = new RehabEntities(); }
public MoviesLogic(IUnitOfwork unitOfWork, ICopiesLogic copiesLogic) : base(unitOfWork) { _copiesLogic = copiesLogic; }
public StudentService(IUnitOfwork unitOfWork, IRepository <Student> repository) : base(unitOfWork, repository) { }
public InvoiceService(IUnitOfwork unitOfwork) { _unitOfwork = unitOfwork; }
public CategoryController(IUnitOfwork unitOfwork) { _unitOfWork = unitOfwork; }
public TNotesRepository(IUnitOfwork unitOfWork) { this._unitOfWork = unitOfWork; //this._procedureManagement = new ProcedureManagement(); }