public void FindByIDTest() { var id = bandsAccess.Get("Pol")[0].ID; var band = bandsAccess.FindByID(id); #region Assert Assert.AreEqual("Poleyn", band.Name); Assert.AreEqual("This is the description of Poleyn", band.Description); #endregion }
public Band GetById(int id) { return(DBToLogic(bandsAccess.FindByID(id))); }