public IHttpActionResult Delete(Guid id) { var spot = _repository.Find(id); if (spot is null) { return(this.Error().ResourceNotFound("Spot not found")); } _repository.Remove(id); return(Ok()); }