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;
 }
Beispiel #5
0
 public PostDetailModel(IPostAppService postService, ICateAppService cateService)
 {
     this.postService = postService;
     this.cateService = cateService;
 }