From e34678efc5f1e317f6ac5603203003be39f1ed83 Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Fri, 7 Apr 2023 15:02:48 -0400 Subject: [PATCH] controller cleanup --- Controllers/HomeController.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Controllers/HomeController.cs b/Controllers/HomeController.cs index 3730e87..a7fcdcc 100644 --- a/Controllers/HomeController.cs +++ b/Controllers/HomeController.cs @@ -22,11 +22,8 @@ public class HomeController : Controller return View(); } - public async Task CreateMatch([FromServices] UserManager userManager, Guid userOneGuid, Guid userTwoGuid) + public async Task CreateMatch(Guid userOneGuid, Guid userTwoGuid) { - //var userOne = userManager.FindByIdAsync(userOneGuid.ToString()); - //var userOne = userManager.FindByIdAsync(userOneGuid.ToString()); - var playerOne = new Player { Alias = "SwiggitySwooty",