예제 #1
0
        public async Task <ActionResult> Delete(string vehicleId)
        {
            // TODO delete from DriverVehicleLink
            // TODO or soft delete?
            var res = await _vehicleService.DeleteItemById(vehicleId);

            if (!res)
            {
                return(NotFound());
            }

            return(Ok());
        }