public UserViewManager(IUserManager userManager, ICacheStoreManager cacheStoreManager, ILogManager logManager , IUserViewRepository userViewRepository, IUserViewTransformationManager userViewTransformationManager) : base(userManager, cacheStoreManager, logManager) { _UserViewRepository = ValidateRepository(userViewRepository); _UserViewTransformationManager = ValidateManager(userViewTransformationManager); }
public AuthenticationController(IUserViewRepository userViewRepository, IRoleViewRepository roleViewRepository, IConfiguration configuration, IMapper mapper) { _configuration = configuration; _userViewRepository = userViewRepository; _roleViewRepository = roleViewRepository; _mapper = mapper; }
public NetPositionController(ITradeViewGenericRepository tradeViewGenericRepo, IRoleViewRepository roleRepository, IUserViewRepository userViewRepository, IGroupDealerMappingRepository groupDealerMappingRepository) { _tradeViewGenericRepo = tradeViewGenericRepo; _roleRepository = roleRepository; _userViewRepository = userViewRepository; _groupDealerMappingRepository = groupDealerMappingRepository; }
public UserViewController(IUserViewRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.UserViewRepository = repository; }
public TradeViewController(IMapper mapper, ITradeViewRepository tradeViewRepository, ITradeViewGenericRepository tradeViewGenericRepository , IUserViewRepository userViewRepository, IRoleViewRepository roleViewRepository, IGroupDealerMappingRepository groupDealerMappingRepository) { _mapper = mapper; _tradeViewRepository = tradeViewRepository; _tradeViewGenericRepository = tradeViewGenericRepository; _userViewRepository = userViewRepository; _roleViewRepository = roleViewRepository; _groupDealerMappingRepository = groupDealerMappingRepository; }
public UserViewController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong(); this._UserId = AppUsers.GetCurrent().View.UserId.ToInt(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt(); this._Catalog = AppUsers.GetCurrentUserDB(); this.UserViewRepository = new MixERP.Net.Schemas.Office.Data.UserView { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public UserManagementController(IUserViewRepository userViewRepository, IRoleViewRepository roleViewRepository, IMapper mapper) { _userViewRepository = userViewRepository; _roleViewRepository = roleViewRepository; _mapper = mapper; }
public GetUserHandler(IUserViewRepository userViewRepository) { _userViewRepository = userViewRepository; }
private UserViewController CreateUserViewController(HttpRequestMessage httpRequest, IUserViewRepository userViewRepository, IUserViewScreenRepository userViewScreenRepository) { UserViewManager UserViewManager = new UserViewManager(userManager.Object, cacheStoreManager.Object, mockLogManager.Object, userViewRepository, transformationManager, userViewScreenRepository); UserPreferencesAPIManager userViewAPIManager = new UserPreferencesAPIManager(userManager.Object, cacheStoreManager.Object, mockLogManager.Object, UserViewManager); UserViewController userViewController = new UserViewController(userManager.Object, userViewAPIManager) { Request = httpRequest, Configuration = new HttpConfiguration() }; return(userViewController); }
public GetAllUserAccountsHandler(IUserViewRepository userViewRepository) { _userViewRepository = userViewRepository; }