ITimeU.Controllers.TimeMergerController.DeleteRuntime C# (CSharp) Method

DeleteRuntime() private method

private DeleteRuntime ( int checkpointId, string runtimeid ) : System.Web.Mvc.ActionResult
checkpointId int
runtimeid string
return System.Web.Mvc.ActionResult
        public ActionResult DeleteRuntime(int checkpointId, string runtimeid)
        {
            int rtid;
            int.TryParse(runtimeid.Trim(), out rtid);
            RuntimeModel.DeleteRuntime(rtid);
            return Content(RuntimeModel.GetRuntimes(checkpointId).ToListboxvalues(sorting: ExtensionMethods.ListboxSorting.Ascending, toTimer: true));
        }