public static List <string> GetPlayers(this IFormCollection form) { return(form.Keys.Where(x => x.StartsWith("player")).Select(x => form.GetStringValue(x)).ToList()); }
public static List <string> GetPlayers(this IFormCollection form) { return(form.Keys.Where(x => x.StartsWith("player")).Select(x => form.GetStringValue(x)).ToList()); }