asp.net mvc - C# ASP MVC: How to create a variable to execute this method -
Visual Studio shows an error
The method group for an inherent-type local variable can not be assigned
Do you want me Can help solve the problem? Here's the code:
Show public performance All Products () {var allProducts = repository.FindAllProducts; See Return (All Products); }
Add ()
at the end of the line Line:
var All Products = The repository Fund Alprodt ();
Comments
Post a Comment