ITimeU.Controllers.CheckpointController.Create C# (CSharp) Method

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult Create()
        {
            if (CheckpointWasCreatedSuccessfully())
                ViewBag.CheckpointCreatedSuccessfully = true;
            else
                ViewBag.CheckpointCreatedSuccessfully = false;

            if (IsCheckpointNameEmpty())
                ViewBag.IsCheckpointEmpty = true;
            else
                ViewBag.IsCheckpointEmpty = false;

            return View("Create", RaceModel.GetRaces());
        }

Same methods

CheckpointController::Create ( int raceId, string txtCheckpointName ) : System.Web.Mvc.ActionResult