The method will look like this:
public OrdersInfo SubmitOrders(OrderInfo orders){ }
where each item in OrderInfo will have a SubmissionStatusInfo, for example:
class SubmissionStatusInfo{ enum Status { get; set; } string Message { get; set; } }
where Status : Submitted, Failed, Error , etc.
Message : a string giving some additional status information ...
NTN
Sunny
source share