diff options
Diffstat (limited to 'Software/Visual_Studio_22/Tango.Portal.Chat.Web/Controllers/HomeController.cs')
| -rw-r--r-- | Software/Visual_Studio_22/Tango.Portal.Chat.Web/Controllers/HomeController.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Controllers/HomeController.cs b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Controllers/HomeController.cs index 8b13afe10..4f7305600 100644 --- a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Controllers/HomeController.cs +++ b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Controllers/HomeController.cs @@ -1,9 +1,15 @@ using Microsoft.AspNetCore.Mvc; +using Tango.Portal.Chat.Web.ViewModels; -namespace ChatADX.Web.Controllers +namespace Tango.Portal.Chat.Web.Controllers { public sealed class HomeController : Controller { - public IActionResult Index() => View(); + public IActionResult Index() + { + HomeViewVM vm = new HomeViewVM(); + vm.UserName = "Roy"; + return View(vm); + } } } |
