This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| db.books.insert([ | |
| { | |
| title: 'War and Peace', | |
| genre: 'Historical Fiction', | |
| author: 'Lev Nikolayevich Tolstoy', | |
| read: false | |
| }, | |
| { | |
| title: 'Les Misérables', | |
| genre: 'Historical Fiction', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "excludeFiles": ["node_modules/**", "bower_components/**"], | |
| "requireCurlyBraces": [ | |
| "if", | |
| "else", | |
| "for", | |
| "while", | |
| "do", | |
| "try", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| using ToDoList.Models; | |
| namespace ToDoList.data | |
| { | |
| public sealed class TaskRepository | |
| { |