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

Popular posts from this blog

mysql - How to enter php data into a html multiple select box -

java - Can't add JTree to JPanel of a JInternalFrame -

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -