예제 #1
0
        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)));
 }