Bug: gateway also changes razor view that will be selected
I have the following code
public class EditAccountAddressPageService : ServiceBase
{
public object Get(EditAccountAddressPage request)
{
return Gateway.Send(new GetAddress() { AddressId = request.Id });
}
}
The problem is the razor view taken now is GetAddress.cshtml
1
vote

This should’ve been resolved a while ago, for speedy resolution of bugs/issues, please instead submit them to our Issue Tracker:
-
Joel Harkes commented
The work around is
```
public object Get(EditAccountAddressPage request)
{
return ResolveService<AddressService>().Get(new GetAddress() { AddressId = request.Id });
}
```but its not ideal, because now i have to specify the specific service (handler) again.