Beispiel #1
0
 public MyController(UserService userService, MessageService messageService)
 {
     this.UserService = userService;
     this.MessageService = messageService;
 }
Beispiel #2
0
 public CommentService(IServiceProvider serviceProvider, MessageService messageService)
     : base(serviceProvider)
 {
     this.MessageService = messageService;
 }