예제 #1
0
 public ActionResult <IEnumerable <string> > Get()
 {
     return(_superPowerService.GetAll().Select(sp => sp.Name).ToArray());
 }
 public IEnumerable <SuperPower> Get()
 {
     return(_superPowerService.GetAll());
 }