コード例 #1
0
 public ActionResult <IEnumerable <DirectionShort> > GetValidDirections()
 {
     return(ParallaxController.GetDirections().Where(x => x.From != null && x.To != null).ToList().ConvertAll(new Converter <Direction, DirectionShort>(DirectionShort.Convert)));
 }
コード例 #2
0
 public ActionResult <IEnumerable <DirectionShort> > GetDirections()
 {
     return(ParallaxController.GetDirections());
 }