public AplicacionPagosModel(SignInManager <User> signInManager, IPeopleService peopleService, IGlobalService globalService, IPaymentService paymentService) { _paymentService = paymentService; _globalService = globalService; _peopleService = peopleService; _signInManager = signInManager; }
public UsuariosModel(SignInManager <User> signInManager, IGlobalService globalService, IPeopleService peopleService, IAuthService authService) { _signInManager = signInManager; _globalService = globalService; _peopleService = peopleService; _authService = authService; }
public MantenimientoBancosModel(IAuthService aS, IGlobalService gS, SignInManager <User> signInManager, IPeopleService pS) { this._aS = aS; this._gS = gS; this._pS = pS; this._signInManager = signInManager; }
public ConsultaFinanciamientoModel(SignInManager <User> signInManager, IGlobalService globalService, IPeopleService peopleService, IInvoiceService invoiceService, IAuthService authService) { _invoiceService = invoiceService; _signInManager = signInManager; _globalService = globalService; _peopleService = peopleService; }
public EventsServiceTests() { var options = new DbContextOptionsBuilder <NetPhlixDbContext>() .UseInMemoryDatabase("Test") .Options; this._dbContext = new NetPhlixDbContext(options); var mappingConfig = new MapperConfiguration( mc => { mc.AddProfiles( typeof(MoviesProfile), typeof(UsersProfile), typeof(CompaniesProfile), typeof(ReviewsProfile), typeof(PeopleProfile), typeof(EventsProfile), typeof(AdminProfile) ); }); this._mapper = mappingConfig.CreateMapper(); this._moviesService = new MoviesService(this._mapper, this._dbContext); this._peopleService = new PeopleService(this._dbContext, this._mapper); }
public IndexModel(IInvoiceService iS, SignInManager <User> signInManager, IPeopleService peopleService, IAuthService aS) { _peopleService = peopleService; _signInManager = signInManager; _iS = iS; this._aS = aS; }
public PeopleController(IPeopleService peopleService, ILanguageService languageService,IPersonLanguageService personLanguageService,ICityService cityService)//Constructor injection { _peopleService = peopleService; _languageService = languageService; _personLanguageService = personLanguageService; _cityService = cityService; }
public LoginViewModel(IPeopleService peopleService) { _peopleService = peopleService; RegisterCommand = new MvxCommand(RegisterExecute); LoginCommand = new MvxCommand(LoginExecute, CanLoginExecute); }
public EventsService(NetPhlixDbContext dbContext, IMapper mapper, IMoviesService moviesService, IPeopleService peopleService) { this._dbContext = dbContext; this._mapper = mapper; this._moviesService = moviesService; this._peopleService = peopleService; }
public SubjectController(ISubjectService serv, IPeopleService peopleServ, IMapper mapper) { this.mapper = mapper; this.subjectService = serv; this.peopleService = peopleServ; this.subjectService.OnSave.ChangesSaved += DataChanged; }
public UserControlLinkedIn2ViewModel(IPeopleService peopleService, IGeoService geoService) { this.peopleService = peopleService; this.geoService = geoService; Jobs = peopleService.GetJobs().ToList(); ZipCodes = geoService.GetZipCodes().ToList(); }
public FinanciamientoFacturasModel(IInvoiceService iS, IGlobalService gS, IPeopleService pS, IAuthService aS) { this._iS = iS; this._pS = pS; this._gS = gS; this._aS = aS; }
public OAuthController(ILogger <OAuthController> logger, IConfiguration config, ITokenValidationProvider tokenValidationProvider, IPeopleService peopleService) { _logger = logger; _config = config; _tokenValidationProvider = tokenValidationProvider; _peopleService = peopleService; }
public ForumPostsController(IForumPostService forumPostService, IHttpContextAccessor httpContextAccessor, ICourseService courseService, IPeopleService peopleService) { this.forumPostService = forumPostService; this.httpContextAccessor = httpContextAccessor; this.courseService = courseService; this.peopleService = peopleService; }
public NewIdeaListener(IInitiativeMessageReceiver initiativeMessageReceiver, IInitiativeMessageSender initiativeMessageSender, IInitiativeService initiativeService, IRemedyService remedyService, IPeopleService peopleService, IInitiativeStatusEtaService initiativeStatusEtaService, Serilog.ILogger logger) { EnsureArg.IsNotNull(initiativeMessageReceiver); EnsureArg.IsNotNull(initiativeMessageSender); EnsureArg.IsNotNull(initiativeService); EnsureArg.IsNotNull(remedyService); EnsureArg.IsNotNull(peopleService); EnsureArg.IsNotNull(initiativeStatusEtaService); EnsureArg.IsNotNull(logger); _initiativeMessageReceiver = initiativeMessageReceiver; _initiativeMessageSender = initiativeMessageSender; _initiativeService = initiativeService; _remedyService = remedyService; _peopleService = peopleService; _initiativeStatusEtaService = initiativeStatusEtaService; _logger = logger ?? throw new ArgumentNullException("logger"); _logger.Information("Starting messsage pump for New Initiatives"); initiativeMessageReceiver.ReceiveMessages(initiativeCreatedHandler: OnNewInitiative); }
public PositionController(IPositionService serv, IPeopleService peopleServ, IMapper mapper) { this.mapper = mapper; this.positionService = serv; this.peopleService = peopleServ; this.positionService.OnSave.ChangesSaved += DataChanged; }
public void MockingInit() { _peoplerepository = new Mock <IPeopleRepository>(); _peopleService = new PeopleService(_peoplerepository.Object); _mockdata = new List <People> { new People { Id = 1, FirstName = "Wu", LastName = "Wang" }, new People { Id = 2, FirstName = "San", LastName = "Zhang" }, new People { Id = 3, FirstName = "Si", LastName = "Li" }, new People { Id = 4, FirstName = "Qi", LastName = "Zhou" } }; _peoplerepository.Setup(x => x.GetAll()).Returns(_mockdata); }
public PeopleController(IPeopleService peopleService, IPersonLanguageRepo personLanguangeRepo, ILanguageService languageService) { _peopleService = peopleService; _personLanguangeRepo = personLanguangeRepo; _languageService = languageService; }
public MenuControlViewComponent(SignInManager <User> signInManager, UserManager <User> userManager, IAuthService authService, IPeopleService pS) { _signInManager = signInManager; _userManager = userManager; _authService = authService; _pS = pS; }
public UserService(IPeopleService peopleService, ISMSDbContextGenericRepository <User> userRepo, ICipherService cipherService, IMapper mapper) { _peopleService = peopleService; _userRepo = userRepo; _cipherService = cipherService; _mapper = mapper; }
public VerificarDatosModel(SignInManager <User> signInManager, IGlobalService globalService, IPeopleService peopleService, IAuthService aS) { _signInManager = signInManager; _globalService = globalService; _peopleService = peopleService; _aS = aS; }
public BackofficeInvoiceWidgetsViewComponent(SignInManager <User> signInManager, UserManager <User> userManager, IAuthService authService, IPeopleService peopleService) { _signInManager = signInManager; _userManager = userManager; _authService = authService; _peopleService = peopleService; }
public PeopleViewModel( IPeopleService peopleService, INavigationService navigationService) { _peopleService = peopleService; _navigationService = navigationService; }
public DebtorQuotasViewComponent(SignInManager <User> signInManager, UserManager <User> userManager, IAuthService authService, IPeopleService peopleService) { _signInManager = signInManager; _userManager = userManager; _authService = authService; _peopleService = peopleService; }
public PeopleController(IPeopleService peopleService, ICitysService citysService, ICountryService countryService, ILanguageService languageService) { _peopleService = peopleService; _citysService = citysService; _countryService = countryService; _languageService = languageService; }
public ConsultasModel(SignInManager <User> signInManager, IGlobalService globalService, IPeopleService peopleService, IInvoiceService invoiceService) { _invoiceService = invoiceService; _signInManager = signInManager; _globalService = globalService; _peopleService = peopleService; }
public void Initialize() { peopleRepository = new Mock <IPeopleRepository>(); peopleRepository.Setup(p => p.HttpStatusCode).Returns(HttpStatusCode.OK); peopleRepository.Setup(p => p.IsInitialized).Returns(true); peopleService = new PeopleService(peopleRepository.Object); }
public SupplierWidgetsViewComponent(SignInManager <User> signInManager, UserManager <User> userManager, IAuthService authService, IPeopleService peopleService) { _signInManager = signInManager; _userManager = userManager; _authService = authService; _peopleService = peopleService; }
public ConsultasPagosModel(SignInManager <User> signInManager, IGlobalService globalService, IPeopleService peopleService, IPaymentService paymentService) { _paymentService = paymentService; _signInManager = signInManager; _globalService = globalService; _peopleService = peopleService; }
public PeopleController(IPeopleService service, ICityService cityService, ILanguageService languageService, IPersonLanguageService personLanguageService) { _service = service; _cityService = cityService; _languageService = languageService; _personLanguageService = personLanguageService; }
public PeopleController(IPeopleService peopleService, IMapToNew<Core.Objects.Person, Person> mapper, IMapToNew<Core.Objects.PersonWithHistory, PersonWithHistory> fullPersonMapper, IMapToNew<Person, Core.Objects.Person> personMapper) { _peopleService = peopleService; _personModelMapper = mapper; _fullPersonModelMapper = fullPersonMapper; _personMapper = personMapper; }
public PeopleViewModel() { _peopleService = new PeopleService(); this.ChoosePersonCommand = new Command(FindPerson); _sourceForImage = new UriImageSource(); _pathToPhoto = "https://randomuser.me/api/portraits/women/19.jpg"; _sourceForImage.Uri = new Uri(_pathToPhoto); SourcePhoto = _sourceForImage; }
public MovieController(IMovieService movieService, ICountryService countryService, IGenreService genreService, IPeopleService peopleService, ICareerService careerService, IUserCommentService userCommentService, IRatingService ratingService) { _movieService = movieService; _countryService = countryService; _genreService = genreService; _peopleService = peopleService; _careerService = careerService; _userCommentService = userCommentService; _ratingService = ratingService; }
public PeopleController(IPeopleService service) { _service = service; }
public SearchController(IPeopleService serv) { service = serv; }
public MainViewModel(IPeopleService peopleService) { if (peopleService == null) throw new ArgumentNullException("peopleService"); _peopleService = peopleService; Task.Run(() => Init()); }
public PeopleServiceTest() { peopleService = new PeopleService(); }
public void SetUp() { adapter = new RestAdapter("http://jordanthoms.apiary.io/"); service = adapter.Create<IPeopleService>(); }
public MainWindowViewModel(IPeopleService peopleService) { People = peopleService.GetPeople(); Title = "Main Window"; }
public SearchController() { service = new PeopleService.PeopleService(); }
public PeopleController(IPeopleService peopleService) { _peopleService = peopleService; }
public MoviesController(IMoviesService movies, IStudiosService studios, IPeopleService people) { this.movies = movies; this.studios = studios; this.people = people; }
public PeopleController(IPeopleService service, IObjectMapper mapper) { this._service = service; this._mapper = mapper; }
public HomeController(IPeopleService peopleService) { _peopleServie = peopleService; }
public UserController(IPeopleService serv) { service = serv; }
public UserController() { service = new PeopleService.PeopleService(); }