Example #1
0
 public TodoListsController(ITodoListRepo todoList, IHttpContextAccessor http)
 {
     this.todoList = todoList;
     userId        = http.HttpContext.User.FindFirstValue(ClaimTypes.NameIdentifier);
 }
Example #2
0
 public MainListController(ITodoListRepo todoList)
 {
     this.todoList = todoList;
 }