Exemple #1
0
 public CategoriesController(IHttpContextAccessor http, ICategoryService categoryService, IRelationAnalyticsService relationAnalyticsService)
 {
     _user                     = (User)http.HttpContext.Items["ApplicationUser"];
     _categoryService          = categoryService;
     _relationAnalyticsService = relationAnalyticsService;
 }
Exemple #2
0
 public TagsController(IHttpContextAccessor http, ITagService tagService, IRelationAnalyticsService relationAnalyticsService)
 {
     _user       = (User)http.HttpContext.Items["ApplicationUser"];
     _tagService = tagService;
     _relationAnalyticsService = relationAnalyticsService;
 }
Exemple #3
0
 public LocationsController(IHttpContextAccessor http, IRelationAnalyticsService relationAnalyticsService, ILocationService locationService)
 {
     _user                     = (User)http.HttpContext.Items["ApplicationUser"];
     _locationService          = locationService;
     _relationAnalyticsService = relationAnalyticsService;
 }
Exemple #4
0
 public PeopleController(IHttpContextAccessor http, IRelationAnalyticsService relationAnalyticsService, IPersonService personService)
 {
     _user                     = (User)http.HttpContext.Items["ApplicationUser"];
     _personService            = personService;
     _relationAnalyticsService = relationAnalyticsService;
 }