public IList <WingResultDto> Find(WingFilter filter) { if (filter == null) { filter = new WingFilter(); } return(_wingImageRepository.Find(filter)); }
// GET: Result public ActionResult Index(WingFilter filter = null) { var wings = _wingImageRepository.Find(filter); return(View(wings)); }