Can I get (Microsoft Web.Helper) Facebook.Helper methods to a MVC controller?
I have installed Fac开发者_开发技巧ebook.Helper for MVC 3 and this includes a lot of useful methods, but in a Razor view. So my question is, can I access these methods from a controller or any class at all, or do I have to implement these methods by myself?
TIA
I don't know if this is the best solution, but I copied all static methods and properties under "@functions { }" in file "/App_Code/Facebook.cshtml" and simply created a new static helper class.
精彩评论