Scenario: User wants strongly typed signature while accessing individual parameters.
My action on controller:
----------
public bool ExtendSupportDate(int boundId, ExtendSupportDateParams prms)
Custom odata action parameters:
----------
public class ExtendSupportDateParams : ODataActionParameters
{
public ExtendSupportDateParams()
{
}
public DateTime NewDate { get; set; }
}
My action on controller:
----------
public bool ExtendSupportDate(int boundId, ExtendSupportDateParams prms)
Custom odata action parameters:
----------
public class ExtendSupportDateParams : ODataActionParameters
{
public ExtendSupportDateParams()
{
}
public DateTime NewDate { get; set; }
}