public IList<Contracts.Entities.Recipe> GetRecentRecipes(int maxcount)
{
//TODO: call actual WCF service and make call
using (System.ServiceModel.ChannelFactory<IRecipeService> factory = new System.ServiceModel.ChannelFactory<IRecipeService>("RecipeServiceHTTP"))
{
IRecipeService service = factory.CreateChannel();
return service.GetRecentRecipes(maxcount);
}
}