public void Album_Search() { ChinookContextProcedures procedures = new ChinookContextProcedures(DbContextFactory.Create()); var result = procedures.Album_SearchAsync(1, "For").Result; Assert.AreEqual(1, result.Length); Assert.AreEqual(1, result[0].AlbumId); }
public void Initialize() { ChinookContextProcedures procedures = new ChinookContextProcedures(DbContextFactory.Create()); procedures.InitializeAsync().Wait(); }