/// <summary></summary> public TodoController(ITodoRepository todo, ISubTodoRepository subtodo, IHubContext <NotificationHub> context) : base(context) { TodoRepository = todo; SubTodoRepository = subtodo; }
/// <summary></summary> public SubTodoController(ISubTodoRepository repository, IHubContext <NotificationHub> context) : base(context) => SubTodoRepository = repository;