public CreatePostModel(IPostAppService postService, ICateAppService cateAppService, IHostingEnvironment hostingEnvironment, IAuthorizationService authorization) { this.postService = postService; this.cateAppService = cateAppService; this.hostingEnvironment = hostingEnvironment; this.authorization = authorization; }
public UpdateCategoryModel(ICateAppService categoryService, IAuthorizationService authorization) { this.categoryService = categoryService; this.authorization = authorization; }
public CategoryController(ICateAppService cateAppService) { this.cateAppService = cateAppService; }
public CategoryListModel(ICateAppService categoryService) { this.categoryService = categoryService; }
public PostDetailModel(IPostAppService postService, ICateAppService cateService) { this.postService = postService; this.cateService = cateService; }