public string GetName() { var name = _next.GetName(); name = $"({name})"; return(name); }
public async Task <IActionResult> Index() { var vm = new HomeViewModel() { Customer = _myRepo.GetCustomer(), Name = _decorateRepo.GetName(), SingletonName = _singletonRepo.GetSingletonName(), NameAsync = await _myRepo.GetNameAsync() }; return(View(vm)); }