Exemple #1
0
 public JsonResult Get()
 {
     return(Json(departureService.GetAllDepartures()));
 }
Exemple #2
0
 public async Task <JsonResult> Get()
 {
     return(Json(await departureService.GetAllDepartures()));
 }