public ActionResult Index(string search = "") { return(View(lampRepo.GetAll(search))); }
public LampModel[] GetAll() { return(_lampRepository.GetAll()); }