It was on a Mvc controller, but now is an Api Controller . And I have the same problem. I want to use Web api.
2014-10-20 15:20 GMT+03:00 Mauro Servienti <[email protected]>: > > > [HttpPost] > > public List<TreeMenuItem> GetMetadata() > > { > > List<TreeMenuItem> itemsMenu = new > List<TreeMenuItem>(); > > TreeMenuItem dataSource = new > TreeMenuItem("1", "DataSources", null); > > itemsMenu.Add(dataSource); > > return itemsMenu; > > } > > > > > > *[.m] is the above in an MVC controller or WebAPI controller?* > > > > *.m* > > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/6NwbkWQHb8M/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- *Bogdan Mihai Ionescu* -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
