ChestClient.Controllers.GameController.MoveVariants C# (CSharp) Method

MoveVariants() public method

public MoveVariants ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult MoveVariants()
        {
            var request = new MoveVariantsRequest { Cell = Request.Params["cell"], GameID = int.Parse(Request.Params["gameID"]) };
            var response = ServerProvider.MakeRequest<MoveVariantsResponse>(request);
            return Json(response.Cells, JsonRequestBehavior.AllowGet);
        }