public ToDoMaintenanceViewModel( IToDoClient toDoClient, IMetaClient metaClient, Models.ToDo toDo)
 {
     _toDoClient = toDoClient;
     _metaClient = metaClient;
     _toDo = toDo;
     Initialize();
 }
Exemple #2
0
 public ToDoController(IToDoClient todo, IMapper mapper, ILogger <ToDoController> logger)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _todo   = todo ?? throw new ArgumentNullException(nameof(todo));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }