You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenRasta
Hi
I need to expose some methods receiving lists as arguments, i.e.:
public class TasksCollecionHandler
{
public TaskCollection GetTasksByEngineer(List<int>
engineerIds)
{
....
}
public TaskCollecion GetTasksByEngineer(List<Engineer>
engineers)
{
....
}
}
1. Do I need to do something extra at resource registration besides
to:
ResourceSpace.Has.ResourcesOfType<TaskCollection>().AtUri("/tasks")
.HandledBy<TaskCollectionHandler>().AsJsonDataContract();
Like register some others Uris?
2. How the clients consuming this service/resource should pass the
list arguments?
For instance can I send this list in a URL string reaching this
methods? can I only send it through forms? how ? an example would be
great