Skip to content

Instantly share code, notes, and snippets.

🚀
respekt

steveoh steveoh

🚀
respekt
Block or report user

Report or block steveoh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ModelStateDictionaryExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
public static class ModelStateDictionaryExtensions
{
public static IEnumerable<string> ToErrors(this ModelStateDictionary dict)
{
return dict.OrderBy(kvp => kvp.Key)
You can’t perform that action at this time.