Exemple #1
0
 public async Task <IActionResult> DeleteStation(int destinationid)
 {
     try
     {
         return(Ok(await _stationRepository.DeleteStation(destinationid)));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }