public HomeController( ITownsService townsService, ISpecialtiesService specialtiesService) { this.townsService = townsService; this.specialtiesService = specialtiesService; }
public LocationsController(ILocationsService locationsService, ITownsService townsService, ILocationTypesService locationTypesService) { this.locationsService = locationsService; this.townsService = townsService; this.locationTypesService = locationTypesService; }
public TownsController(ITownsService townsService, IStreetsService streetsService, ICategoriesService categoriesService, IEventsService eventService) { this.townsService = townsService ?? throw new ArgumentNullException(nameof(townsService)); this.streetsService = streetsService ?? throw new ArgumentNullException(nameof(streetsService)); this.categoriesService = categoriesService ?? throw new ArgumentNullException(nameof(categoriesService)); this.eventsService = eventService ?? throw new ArgumentNullException(nameof(eventService)); }
public AdvertisementsAdministrationController(IAdvertisementsService advertisements, ICategoriesService categories, ITownsService towns, ICommentsService comments) { this.advertisements = advertisements; this.categories = categories; this.towns = towns; this.comments = comments; }
public HomeController( ICountriesService countriesService, ITownsService townsService, ICurrenciesService currenciesService) : base(townsService, currenciesService) { this.countriesService = countriesService; }
public AccountController(ApplicationSignInManager signInManager, ApplicationUserManager userManager, ITownsService towns) { this.signInManager = signInManager; this.userManager = userManager; this.towns = towns; }
public ProfileController(IUsersService users, ITownsService towns, IProfileService profile) { this.users = users; this.towns = towns; this.profile = profile; }
public AddressesService( IDeletableEntityRepository <Address> addressesRepository, ICountriesService countriesService, ITownsService townsService) { this.addressesRepository = addressesRepository; this.countriesService = countriesService; this.townsService = townsService; }
public ParkingsController( ITownsService townsService, IParkingsService parkingsService, IParkingSlotsService parkingSlotsService) { this.parkingSlotsService = parkingSlotsService; this.parkingsService = parkingsService; this.townsService = townsService; }
public GroupTripsService( ITownsService townsService, IDeletableEntityRepository <GroupTrip> groupTripsRepository, IDeletableEntityRepository <UserGroupTrip> userGroupTripsRepository) { this.townsService = townsService; this.groupTripsRepository = groupTripsRepository; this.userGroupTripsRepository = userGroupTripsRepository; }
public TeamsService(FooteoDbContext dbContext, ITownsService townsService, ILeaguesService leaguesService, UserManager <FooteoUser> userManager, RoleManager <IdentityRole> roleManager) { this.dbContext = dbContext; this.townsService = townsService; this.leaguesService = leaguesService; this.userManager = userManager; this.roleManager = roleManager; }
public CarsController( ICarsService carsService, IParkingsService parkingsService, ITownsService townsService, ICountriesService countriesService) { this.carsService = carsService; this.parkingsService = parkingsService; this.townsService = townsService; this.countriesService = countriesService; }
public TripsService( ICommentService commentService, IDeletableEntityRepository <Trip> tripsRepository, IFishServices fishServices, ITownsService townsService) { this.commentService = commentService; this.tripsRepository = tripsRepository; this.fishServices = fishServices; this.townsService = townsService; }
public TownsAdministrationController( ITownsService towns, ICommentsService comments, IAdvertisementsService advertisements, UserManager<ApplicationUser> manager) { this.towns = towns; this.comments = comments; this.advertisements = advertisements; this.manager = manager; }
public TownsController( ITownsService townsService, ICountriesService countriesService, IParkingsService parkingsService, IParkingSlotsService parkingSlotsService) { this.townsService = townsService; this.countriesService = countriesService; this.parkingsService = parkingsService; this.parkingSlotsService = parkingSlotsService; }
public DoctorsController( IDoctorsService doctorsService, IConsultationsService consultationsService, IPatientsService patientsService, ITownsService townsService) { this.doctorsService = doctorsService; this.consultationsService = consultationsService; this.patientsService = patientsService; this.townsService = townsService; }
public AdsController( ICategoriesService categories, IAdvertisementsService advertisements, ITownsService towns, IImagesService images, UserManager<ApplicationUser> manager) { this.categories = categories; this.advertisements = advertisements; this.towns = towns; this.images = images; this.manager = manager; }
public TownsServiceTests() { var options = new DbContextOptionsBuilder <ApplicationDbContext>() .UseInMemoryDatabase(Guid.NewGuid().ToString()); var repo = new EfDeletableEntityRepository <Town>(new ApplicationDbContext(options.Options)); var service = new TownsService(repo); AutoMapperConfig.RegisterMappings( typeof(TownsIndexViewModel).GetTypeInfo().Assembly); this.townsService = service; this.repository = repo; }
public StatisticsController( IDoctorsService doctorsService, ITownsService townsService, IPatientsService patientsService, IConsultationsService consultationsService, ISpecialtiesService specialtiesService) { this.doctorsService = doctorsService; this.townsService = townsService; this.patientsService = patientsService; this.consultationsService = consultationsService; this.specialtiesService = specialtiesService; }
public DashboardController( IParkingsService parkingsService, ICountriesService countriesService, ITownsService townsService, IDriversService driversService, ICarsService carsService, IUsersService usersService) { this.parkingsService = parkingsService; this.countriesService = countriesService; this.townsService = townsService; this.driversService = driversService; this.carsService = carsService; this.usersService = usersService; }
public RegisterModel( UserManager <FooteoUser> userManager, SignInManager <FooteoUser> signInManager, ILogger <RegisterModel> logger, IEmailSender emailSender, ITownsService townsService, IPlayersService playersService, IRefereesService refereesService) { _userManager = userManager; _signInManager = signInManager; _logger = logger; _emailSender = emailSender; _townsService = townsService; _playersService = playersService; _refereesService = refereesService; }
public LandmarksController( ICategoriesService categoriesService, IRegionsService regionsService, ITownsService townsService, IMountainsService mountainsService, ILandmarksService landmarksService, UserManager <ApplicationUser> userManager, IWebHostEnvironment hostEnvironment) { this.categoriesService = categoriesService; this.regionsService = regionsService; this.townsService = townsService; this.mountainsService = mountainsService; this.landmarksService = landmarksService; this.userManager = userManager; this.hostEnvironment = hostEnvironment; }
public RegisterPatient( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILogger <RegisterPatient> logger, IUsersService usersService, ITownsService townsService, IPatientsService patientsService, IConfiguration configuration, Services.Messaging.IEmailSender emailSender) { this.userManager = userManager; this.signInManager = signInManager; this.logger = logger; this.usersService = usersService; this.townsService = townsService; this.patientsService = patientsService; this.configuration = configuration; this.emailSender = emailSender; }
public RegisterDoctor( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILogger <RegisterDoctor> logger, IUsersService usersService, ITownsService townsService, IDoctorsService doctorsService, ISpecialtiesService specialtiesService, IConfiguration configuration, IEmailSender emailSender) { this.userManager = userManager; this.signInManager = signInManager; this.logger = logger; this.usersService = usersService; this.townsService = townsService; this.doctorsService = doctorsService; this.specialtiesService = specialtiesService; this.configuration = configuration; this.emailSender = emailSender; }
public PropertiesController( ICountriesService countriesService, ITownsService townsService, ICurrenciesService currenciesService, IPropertyCategoriesService propertyCategoriesService, IPropertiesService propertiesService, UserManager <ApplicationUser> userManager, IFacilitiesService facilitiesService, IRulesService rulesService, IWebHostEnvironment environment, IOffersService offersService) : base(townsService, currenciesService) { this.countriesService = countriesService; this.propertyCategoriesService = propertyCategoriesService; this.propertiesService = propertiesService; this.userManager = userManager; this.facilitiesService = facilitiesService; this.rulesService = rulesService; this.environment = environment; this.offersService = offersService; }
public LeaguesService(FooteoDbContext dbContext, ITownsService townsService) { this.dbContext = dbContext; this.townsService = townsService; }
public void Init() { this.townService = TestObjectFactory.GetTownsService(); AutoMapperConfig.RegisterMappings(Assembly.Load(Assemblies.WebApi)); }
public AccountController(ITownsService towns) { this.towns = towns; }
public HomeController(ICategoriesService categories, IAdvertisementsService advertisements, ITownsService towns) { this.categories = categories; this.advertisements = advertisements; this.towns = towns; }
public TownsController(ITownsService townsService) { _townsService = townsService; }
public TownsRestController(ITownsService townsService) { this.townsService = townsService; }
public CompaniesService(EmployeesManagementContext dbContext, IMapper mapper, ITownsService townsService) : base(dbContext, mapper) { this.townsService = townsService; }
public TownsController(ITownsService townsService) { this.towns = townsService; }
public TownsController(ITownsService towns) { this.towns = towns; }
public PropertiesBaseController(ITownsService townsService, ICurrenciesService currenciesService) { this.townsService = townsService; this.currenciesService = currenciesService; }
public async Task<Entry> UploadImageToCloud(IResource resource, string fileName, ITownsService towns, int townId) { string path = "/" + CreateFolder(towns, townId) + "/" + fileName; Entry uploadFileEntry = await this.dropboxApi.UploadFileAsync(resource, path); return uploadFileEntry; }
// Create new folder private string CreateFolder(ITownsService towns, int townId) { string newFolderName = towns.ById(townId).FirstOrDefault().Name; Entry createFolderEntry = GetDropboxApi().CreateFolderAsync(newFolderName).Result; return createFolderEntry.Path; }
public ManageController(UserManager<ApplicationUser> manager, ITownsService towns) { this.manager = manager; this.towns = towns; }