Beispiel #1
0
 public SearchController(IPostService postService, IModelDataMapper dataMapper)
 {
     this.postService = postService;
     this.dataMapper  = dataMapper;
 }
Beispiel #2
0
 public PostController(IPostService postService, ICommentService commentService, IModelDataMapper dataMapper)
 {
     this.postService    = postService;
     this.commentService = commentService;
     this.dataMapper     = dataMapper;
 }
Beispiel #3
0
 public HomeController(IPostService postService, ICategoryService categoryService, IModelDataMapper dataMapper)
 {
     this.postService     = postService;
     this.categoryService = categoryService;
     this.dataMapper      = dataMapper;
 }