private async Task SendEmailCityApproveStatusAsync(string email, string userId, DataAccess.Entities.City city, bool isApproved) { var cityUrl = _repositoryWrapper.GetCitiesUrl + city.ID; var emailContent = isApproved ? await _emailContentService.GetCityApproveEmailAsync(userId, cityUrl, city.Name) : await _emailContentService.GetCityExcludeEmailAsync(userId, cityUrl, city.Name); await _emailSendingService.SendEmailAsync(email, emailContent.Subject, emailContent.Message, emailContent.Title); }