public ActionResult <List <Supply> > NeedMatch(int id) { List <Supply> retList; try { retList = supplyService.NeedMatch(id); } catch (Exception ex) { Console.WriteLine(ex.InnerException.Message); return(new List <Supply>()); } return(retList); }