public static List<Library> CreateTestLibraries() { List<Library> libraries = new List<Library>(); for (int i = 0; i<101; i++) { Library sampleLibrary = new Library() { Id = i, Name = "Sample Library", Phone = "555-555-5555", Address = new Address() { City = "Sample City", Line1 = "123 Main Street", State = new State() { Id = 1, Abbreviation = "AL", Name = "Alabama" }, Zip = "55555" } }; libraries.Add(sampleLibrary); } return libraries; }
public static Library CreateLibrary() { Library library = new Library(); library.Name = "New Library Sample"; return library; }
public void InsertOrUpdate(Library entity) { throw new NotImplementedException(); }