public async Task <IActionResult> DeleteValue(int id) { ServiceResponse <List <GetValuesResponse> > response = await _valuesService.DeleteValue(id); if (response.Data == null) { return(NotFound(response)); } return(Ok(response)); }