Esempio n. 1
0
 public ActionResult <List <Value> > Get() => _valueService.Get();
Esempio n. 2
0
 public ActionResult <TValue> Get()
 {
     return(new TValue {
         Value = _valueService.Get()
     });
 }
Esempio n. 3
0
 public ActionResult <IEnumerable <ValueResponse> > Get() => valueService.Get().Select(v => new ValueResponse(v)).ToList();