ASP.NET Forums/General ASP.NET/ASP.NET Core/Make this code generic/Re: Make this code generic