Пример #1
0
 public VPickAdvice Advice(long id, string TypeCode)
 {
     if (TypeCode == "Pick")
     {
         return(pickService.Advice(id));
     }
     else
     {
         return(waveService.Advice(id));
     }
 }
Пример #2
0
        public JsonResult Advice([FromUri] long id)
        {
            var result = pickService.Advice(id);

            return(new JsonResult(result));
        }