public bool RegionExists(int value) { var list = _regionDbManager.ReturnAllRegions().Where(x => x.Value == value); return(list.Count() != 0); }
public IActionResult GetAllRegions() => Ok(_regionDbManager.ReturnAllRegions());
public bool RegionExists(int value) { var list = _regionDbManager.ReturnAllRegions().Where(x => x.Value == value); return(list.Count() != 0); }
public IActionResult GetAllRegions() => Ok(_regionDbManager.ReturnAllRegions());