예제 #1
0
 public PostController(dbBlogContext context,
                       IPostService postService,
                       UserManager <IdentityUser> userManager,
                       IKeyValueItem keyValueItem,
                       IPhotoService photoService,
                       ICategoryService categoryService,
                       IUserService userService)
 {
     _context         = context;
     _postService     = postService;
     _userManager     = userManager;
     _keyValueItem    = keyValueItem;
     _photoService    = photoService;
     _categoryService = categoryService;
     _userService     = userService;
 }
예제 #2
0
 public UICarController(IApiCalls <Car> apiGetCalls, UserManager <IdentityUser> userManager, IKeyValueItem keyValueItem)
 {
     _carApiGetCall = apiGetCalls;
     _userManager   = userManager;
     _keyValueItem  = keyValueItem;
 }