Пример #1
0
        public ListsController(MyTodoContext model)
        {
            if (model == null)
            {
                throw new ArgumentNullException("model");
            }

            this.model = model;
        }
Пример #2
0
 public TodoController(MyTodoContext model)
 {
     this.model = model;
 }