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
        }
示例#2
0
 public Band GetById(int id)
 {
     return(DBToLogic(bandsAccess.FindByID(id)));
 }