public ISaveResult Save(WhingerEntity whinger) { var command = new EnsureWhingerCommand(whinger); Context.CommandQueue.EnqueueCommand<EnsureWhingerCommand, WhingerEntity>(command); return new SaveResult(command.CommandId); }
public ISaveResult Save(WhingerEntity whinger) { var command = new EnsureWhingerCommand(whinger); Context.CommandQueue.EnqueueCommand <EnsureWhingerCommand, WhingerEntity>(command); return(new SaveResult(command.CommandId)); }