public Microsoft.AspNetCore.Mvc.IActionResult Learn06()
        {
            ViewModels.DataViewModel data =
                new ViewModels.DataViewModel
            {
                Id   = 1,
                Text = "If you need to display an image or a piece of content with a caption, the <figure> elementcan be used"
            };

            return(View(model: data));
        }
        public virtual System.Web.Mvc.JsonResult showMessage2()
        {
            System.Threading.Thread.Sleep(millisecondsTimeout: 5000);//ایجاد لختی مصنوعی

            ViewModels.DataViewModel viewModel =
                new ViewModels.DataViewModel
            {
                BackEndData = "Data From Back End",
            };

            return(Json(data: viewModel, behavior: System.Web.Mvc.JsonRequestBehavior.AllowGet));
        }