コード例 #1
0
 public CreatePostModel(IPostAppService postService, ICateAppService cateAppService, IHostingEnvironment hostingEnvironment, IAuthorizationService authorization)
 {
     this.postService        = postService;
     this.cateAppService     = cateAppService;
     this.hostingEnvironment = hostingEnvironment;
     this.authorization      = authorization;
 }
コード例 #2
0
 public UpdateCategoryModel(ICateAppService categoryService, IAuthorizationService authorization)
 {
     this.categoryService = categoryService;
     this.authorization   = authorization;
 }
コード例 #3
0
 public CategoryController(ICateAppService cateAppService)
 {
     this.cateAppService = cateAppService;
 }
コード例 #4
0
 public CategoryListModel(ICateAppService categoryService)
 {
     this.categoryService = categoryService;
 }
コード例 #5
0
 public PostDetailModel(IPostAppService postService, ICateAppService cateService)
 {
     this.postService = postService;
     this.cateService = cateService;
 }