Skip to content

Instantly share code, notes, and snippets.

@logicbomb
Created January 5, 2012 05:03
Show Gist options
  • Save logicbomb/1563794 to your computer and use it in GitHub Desktop.
Save logicbomb/1563794 to your computer and use it in GitHub Desktop.
ModelBinding failing tests
public IAmAnInterface TestBindAndCastToInterface()
{
var result = this.Bind();
return (IAmAnInterface)result;
}
public Concrete TestBindAndCastToConcrete()
{
var result = this.Bind();
return (Concrete)result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment