Example #1
0
 private void RefreshBoatInventory(bool active = true)
 {
     if (active)
     {
         _boatInventory = _boatManager.RetrieveActiveBoats();
     }
     else
     {
         _boatInventory = _boatManager.RetrieveInactiveBoats();
     }
 }
Example #2
0
 // GET: Boat
 public ActionResult Index()
 {
     return(View(_boatManager.RetrieveActiveBoats()));
 }