Example #1
0
 public LocationController(ILoggingService loggingService, IPagingService paggingService,
                           IIdentityService identityService, ILocationService locationService, ISearchTreeService searchTreeService,
                           ITagService tagService, IPhotoService photoService) : base(loggingService, paggingService, identityService, photoService)
 {
     this._locationService   = locationService;
     this._tagService        = tagService;
     this._searchTreeService = searchTreeService;
 }
Example #2
0
 public PlanController(ILoggingService loggingService, IPagingService paggingService,
                       IIdentityService identityService, IPlanService planService, ILocationService locationService,
                       IPhotoService photoService,
                       ITagService tagService, ISearchTreeService searchTreeService) : base(loggingService, paggingService,
                                                                                            identityService, photoService)
 {
     client             = new HttpClient();
     client.BaseAddress = new Uri("https://exp.host");
     client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
     client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("gzip"));
     client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("deflate"));
     this._planService       = planService;
     this._locationService   = locationService;
     this._tagService        = tagService;
     this._searchTreeService = searchTreeService;
 }