示例#1
0
        public async Task <IActionResult> DeleteStation(int id)
        {
            ServiceResponse <List <Station> > response = await _routeService.DeleteStation(id);

            if (!response.Success)
            {
                return(BadRequest(response));
            }
            return(Ok(response));
        }