public TodolistController(ITodolistService todolistService, UserManager <User> userManager)
 {
     _todolistService = todolistService ?? throw new ArgumentNullException(nameof(todolistService));
     _userManager     = userManager ?? throw new ArgumentNullException(nameof(userManager));
 }
Exemple #2
0
 public TodolistController(ITodolistService service)
 {
     _service = service;
 }