public ActionResult CustomInventory() { var repo = new MobileSuitRepositoryADO(); var model = repo.GetCustom(); return(View(model)); }
public void CanLoadCustom() { var repo = new MobileSuitRepositoryADO(); List <Mobile_Suit_Search_Result> gundams = repo.GetCustom().ToList(); Assert.AreEqual(2, gundams.Count()); Assert.AreEqual(2, gundams[0].InventoryNumber); }