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 RoleViewController(IRoleViewRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.RoleViewRepository = 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 RoleViewController() { 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.RoleViewRepository = new MixERP.Net.Schemas.Office.Data.RoleView { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public UserManagementController(IUserViewRepository userViewRepository, IRoleViewRepository roleViewRepository, IMapper mapper) { _userViewRepository = userViewRepository; _roleViewRepository = roleViewRepository; _mapper = mapper; }