public ActionResult Raise(string tableId, long amount) { var cmd = new RaiseBid { Id = tableId, UserId = UserId, Amount = amount }; Send(cmd); return(Json(cmd)); }
public void Handle(RaiseBid c) { _repository.Perform(c.Id, table => table.Raise(c.UserId, c.Amount)); }