Example #1
0
 public IActionResult DeleteRegion(int value)
 {
     if (_validation.RegionExists(value))
     {
         _regionDbManager.DeleteRegion(value);
         return(Ok($"The region with value {value} is successfully removed"));
     }
     return(NotFound("There is no region with that value"));
 }