Beispiel #1
0
        public ActionResult AddAuction()
        {
            var allProduct      = ProRepo.GetProForDop();
            var persianDateTime = new PersianDateTime(DateTime.Now);

            ViewBag.PDate = persianDateTime.Date;
            ViewBag.PTime = persianDateTime.GetTime();
            string PersianDate = persianDateTime.ToLongDateTimeString();

            return(View(allProduct));
        }