@using LeafWeb.WebCms.Utility @model TimeSpan? @{ TimeSpan ts; if (Model == null) { ts = TimeSpan.FromMinutes(10); } else { ts = Model.Value; } }