public IActionResult Delete(Guid id) { _locationRepo.Delete(id); return(new NoContentResult()); }
public void DeleteById(int id) { repo.Delete(repo.Get(id)); }
public IActionResult Delete(Guid id) { _locationRepo.Delete(id); return(new NoContentResult()); }
public void DeleteById(int id) { repo.Delete(repo.Get(id)); }