public JsonResult Get() { return(Json(departureService.GetAllDepartures())); }
public async Task <JsonResult> Get() { return(Json(await departureService.GetAllDepartures())); }
public JsonResult Get() { return(Json(departureService.GetAllDepartures())); }
public async Task <JsonResult> Get() { return(Json(await departureService.GetAllDepartures())); }