Пример #1
0
 public JsonResult Get()
 {
     return(Json(departureService.GetAllDepartures()));
 }
Пример #2
0
 public async Task <JsonResult> Get()
 {
     return(Json(await departureService.GetAllDepartures()));
 }