public ActionResult Check(string tableId) { var cmd = new CheckBid { Id = tableId, UserId = UserId }; Send(cmd); return(Json(cmd)); }
public void Handle(CheckBid c) { _repository.Perform(c.Id, table => table.Check(c.UserId)); }