public AuthRepository(IOptions <AppSettings> app) { _connection = new SqlConnection(@"Data Source=FORMA-VDI1109\TFTIC;Initial Catalog=TicketOnline;User ID=sa;Password=tftic@2012;"); _connection.Open(); _userRepository = new UserRepository(); _appSettings = app.Value; }
public IdentityUnitOfWork( FriendsAndTravelDbContext db, SignInManager <User> signInManager, UserManager <User> userManager, RoleManager <IdentityRole> roleManager, ICategoryRepository categoryRepository, IUserCategoryRepository userCategoryRepository, IUserProfileRepository UserProfileRepository, IUserEventRepository userEventRepository, IEventRepository eventRepository, IEventCategoryRepository eventCategoryRepository, IPhotoRepository photoRepository, IEventPhotoRepository eventPhotoRepository, ILocationRepository locationRepository ) { Database = db; UserManager = userManager; RoleManager = roleManager; SignInManager = signInManager; UserCategoryRepository = userCategoryRepository; CategoryRepository = categoryRepository; this.userProfileRepository = UserProfileRepository; UserEventRepository = userEventRepository; EventCategoryRepository = eventCategoryRepository; EventRepository = eventRepository; PhotoRepository = photoRepository; EventPhotoRepository = eventPhotoRepository; LocationRepository = locationRepository; }
public HistogramController(IHistogramRepository repository, IUserEventRepository userEventRepository, IGenerate<Histogram> generateHistogram, IFeatureRepository featureRepository, IBackgroundJobClient backgroundJobClient) { this.repository = repository; this.userEventRepository = userEventRepository; this.generateHistogram = generateHistogram; this.featureRepository = featureRepository; this.backgroundJobClient = backgroundJobClient; }
public OrganizationEventHandler( IOrganizationChangeResolver arg0, IUserEventRepository arg1 ) { field0 = arg0; field1 = arg1; }
public UserEventHandler( IUserChangeResolver arg0, IUserEventRepository arg1 ) { field0 = arg0; field1 = arg1; }
public TimeSeriesController(ApiDataContext context, ITimeSeriesRepository timeSeriesRepository, IUserEventRepository userEventRepository, IGenerate<TimeSeries> generateTimeSeries, IFeatureRepository featureRepository, IBackgroundJobClient backgroundJobClient) { this.context = context; this.timeSeriesRepository = timeSeriesRepository; this.userEventRepository = userEventRepository; this.generateTimeSeries = generateTimeSeries; this.featureRepository = featureRepository; this.backgroundJobClient = backgroundJobClient; }
//private UserWindow uw = new UserWindow(); public UserViewModel(User entity) : base(entity) { _eventRequester = new UserRequester("http://localhost:51049/api/"); LastName = Entity.LastName; FirstName = Entity.FirstName; ScreenName = Entity.ScreenName; Email = Entity.Email; //Passwd = Entity.Passwd; Address = Entity.Address; IsActive = Entity.IsActive; IsAdmin = Entity.IsAdmin; }
//private EventWindow ew = new EventWindow(); public EventViewModel(Event entity) : base(entity) { _eventRequester = new EventRequester("http://localhost:51049/api/"); Name = Entity.Name; Type = Entity.Type; Organizer = Entity.Organizer; Date = Entity.Date; Location = Entity.Location; Tickets = Entity.Tickets; Price = Entity.Price; Description = Entity.Description; }
public EventController() { _eventRepository = new EventRepository(); }
public UserController(ApiTokenRequester apiTokenRequester, IUserEventRepository <User> userRequester, ICryptoRSA cryptoService, ISessionManager sessionManager) : base(sessionManager) { _cryptoService = cryptoService; _apiTokenRequester = apiTokenRequester; _userRequester = userRequester; }
public AuthController(IUserEventRepository <User> userRepository, IAuthRepository <RegisterForm, LoginForm, User> authRepository, ISessionManager sessionManager, ICryptoRSA cryptoService) : base(sessionManager) { _authRepository = authRepository; _cryptoService = cryptoService; _userRepository = userRepository; }
public UserEventService(IUserEventRepository userEventRepository, IMapper mapper) { _userEventRepository = userEventRepository; _mapper = mapper; }
public UserController(ICryptoRSA cryptoService) { _cryptoService = cryptoService; _userRepository = new UserRepository(); _passwordRepository = new UserPasswordRepository(); }
public EventListViewModel() { _eventRequester = new EventRequester("http://localhost:51049/api/"); //Messenger<EventViewModel>.Instance.Register("DeleteEvent", OnDeleteEvent); // voir * Messenger <DeleteMessage <EventViewModel> > .Instance.Register(OnDeleteEvent); }
public WorkbenchController(IUserEventRepository repository, IParseUserEvents userEventParser) { this.repository = repository; this.userEventParser = userEventParser; }
public UserEventsService(IUnitOfWork unitOfWork, IUserEventRepository userEventRepository) { _unitOfWork = unitOfWork; _userEventRepository = userEventRepository; }
public EventController(ApiTokenRequester apiTokenRequester, IUserEventRepository <Event> eventRequester, ApiRequester apiRequester, ISessionManager sessionManager) : base(sessionManager) { _eventRequester = eventRequester; _apiRequester = apiRequester; _apiTokenRequester = apiTokenRequester; }
public UserListViewModel() { _userRequester = new UserRequester("http://localhost:51049/api/"); //Messenger<UserViewModel>.Instance.Register("DeleteUser", OnDeleteUser); // voir * Messenger <DeleteMessage <UserViewModel> > .Instance.Register(OnDeleteUser); }
public UserScopesController(IUserEventRepository repository) { this.repository = repository; }
public EventReader( IUserEventRepository arg0 ) { field0 = arg0; }
public UnitOfWorkMem() { context = new InMemoryContext(); UserEventRepository = new UserEventRepositoryEFMemory(context); }