public async Task <bool> IsItATeaPotAsync(ExampleModel model) { string modelName = await _exampleRepository.GetNameForIdAsync(model.Id); if (string.IsNullOrEmpty(modelName)) { throw new NotFoundException(); } return(modelName.ToLower().Contains("teapot")); }