Пример #1
0
 public Func <IGenericMapper, ErrorContext, ActionResult> HandleSuccess(CommandResult executedCommandResult, CommandResult <TInput> actionMethodResult)
 {
     return((mapper, error) => actionMethodResult.Success());
 }
Пример #2
0
 public CommandResult ProcessCommand(CommandResult <TInput> actionMethodResult, IGenericMapper mapper)
 {
     return(_commandProcessor.Process(actionMethodResult.GetMessage(mapper)));
 }