Example #1
0
        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);
        }