Example #1
0
 public ActionResult DeleteParkings(int[] ids)
 {
     return(Json(parkingService.Delete(ids)));
 }
Example #2
0
 public IActionResult DeleteParking(string parkingName)
 {
     ParkingService.Delete(parkingName);
     return(Redirect("GetParkings"));
 }
 public ActionResult Delete(int id)
 {
     return(Ok(
                parkingService.Delete(id)
                ));
 }