Skip to content

Instantly share code, notes, and snippets.

@Grummle
Created June 8, 2012 21:53
Show Gist options
  • Save Grummle/2898262 to your computer and use it in GitHub Desktop.
Save Grummle/2898262 to your computer and use it in GitHub Desktop.
namespace Reachmail.Web.UI.api
{
public class Outputmodel
{
public int hello { get; set; }
}
public class PostCollectionHandler
{
public Outputmodel Execute(IEnumerable<ListModel> lists )
{
return new Outputmodel {hello = lists.Count()};
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment