public AuthenticationService(IJwtTokenService jwtTokenService, IUserRepository userRepository, ILandmarkService landmarkService) { this.jwtTokenService = jwtTokenService; this.userRepository = userRepository; this.landmarkService = landmarkService; }
public LandmarkController(ILandmarkService landmarkService, IPictureService pictureService, ITownService townService, ILocationService locationService, INotificationService notificationService, IUserNotificationService userNotificationService, IUserService userService) { this._landmarkService = landmarkService; this._pictureService = pictureService; this._townService = townService; this._locationService = locationService; this._notificationService = notificationService; this._userNotificationService = userNotificationService; this._userService = userService; }
public LandmarkServiceTest() { var builder = new ConfigurationBuilder() .SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("appsettings.json") .Build(); var dbonnection = builder.GetConnectionString("SqlServer"); var serviceProvider = new ServiceCollection() .AddDbContext <NYCLandmarkContext>(options => options.UseSqlServer(dbonnection)) .AddScoped <ILandmarkRepository, LandmarkRepository>() .AddScoped <ILandmarkService, LandmarkService>() .BuildServiceProvider(); serviceProvider.GetRequiredService <NYCLandmarkContext>(); serviceProvider.GetRequiredService <ILandmarkRepository>(); _landmarkService = serviceProvider.GetRequiredService <ILandmarkService>(); AutoMapperConfiguration.Configure(); }
public ListModel(ILandmarkService service) { this._service = service; }
/// <summary> /// /// </summary> /// <param name="lpcReportService"></param> /// <param name="landmarkService"></param> public LPCReportController(ILPCReportService lpcReportService, ILandmarkService landmarkService) { _lpcReportService = lpcReportService; _landmarkService = landmarkService; }
public ProcessService(ILandmarkService ls, ICelebrityService cs) { this.landmarkService = ls; this.celebrityService = cs; }
public EditModel(ILandmarkService service, IMapper mapper, IHostingEnvironment hostingEnvironment) { this._service = service; this._mapper = mapper; this._hostingEnvironment = hostingEnvironment; }
public NoteRepository(ApplicationDbContext dbContext, ILandmarkService landmarkService) { this.dbContext = dbContext; this.landmarkService = landmarkService; }
public HomeController(ILandmarkService landmarkService) { _landmarkService = landmarkService; this._landmarkService = landmarkService; }
public MapsController(ILandmarkService landmarkService) { _landmarkService = landmarkService; }
public HomeController(ILandmarkService landmarkService) {
public AddModel(ILandmarkService service, IHostingEnvironment hostingEnvironment) { this._service = service; this._hostingEnvironment = hostingEnvironment; this.AddLandmarkBindingModel = new AddEditLandmarkBindingModel(); }
public LandmarkController(ILandmarkService landmarkService, IUserService userService, ICommentService commentService) { this._landmarkService = landmarkService; this._userService = userService; this._commentService = commentService; }
public LandmarkController(ILandmarkService service) { this._service = service; }
public UserLandmarkController(ILandmarkService landmarkService, IUserService userService) { this._landmarkService = landmarkService; this._userService = userService; }
/// <summary> /// Initializes a new instance of the <see cref="LpcReportController"/> class. /// </summary> /// <param name="lpcReportService"></param> /// <param name="landmarkService"></param> public LpcReportController(ILpcReportService lpcReportService, ILandmarkService landmarkService) { _lpcReportService = lpcReportService ?? throw new ArgumentNullException(nameof(lpcReportService)); _landmarkService = landmarkService ?? throw new ArgumentNullException(nameof(landmarkService)); }
public AddModel(ILandmarkService service) { this._service = service; this.AddLandmarkBindingModel = new AddEditLandmarkBindingModel(); }
public LandmarkServiceTest(CoreDataStoreDbFixture fixture, ITestOutputHelper output) { _landmarkService = fixture.LandmarkService; _output = output; }
private LpcReportController GetLpcReportController(ILpcReportService lpcReportService = null, ILandmarkService landmarkService = null) { lpcReportService = lpcReportService ?? new Mock <ILpcReportService>().Object; landmarkService = landmarkService ?? new Mock <ILandmarkService>().Object; return(new LpcReportController(lpcReportService, landmarkService)); }
public EditModel(ILandmarkService service, IMapper mapper) { this._service = service; this._mapper = mapper; }