public IActionResult AvailableEquipment() { var availableEquipment = from e in Repository.GetEquipmentListings() where e.Availability == true orderby e.Id ascending select(e); return(View(availableEquipment)); }
public IActionResult AllEquipment() { return(View(Repository.GetEquipmentListings())); }