I am new to Entity Framework and linq. I am working with asp.net mvc 5 and C#.
I write a query with dynamic sorting as follows:...public static IEnumerable<T> OrderByDynamic<T>(this IEnumerable<T> source, string propertyName, bool Ascending)
{
if (Asc...