Пример #1
0
        public ActionResult SpecialReferral()
        {
            SpecialReferralViewModel srvm = new SpecialReferralViewModel();

            // SpecialReferralBackButtonHelper("Get", srvm);

            return(View("SpecialReferral", srvm));
        }
Пример #2
0
        public ActionResult PrepareSpecialReferral(SpecialReferralViewModel srvm)
        {
            if (string.IsNullOrEmpty(srvm.Agency))
            {
                srvm.Agency = "_____________________";
            }
            else
            {
                srvm.NPP = true;
            }

            if (string.IsNullOrEmpty(srvm.AgencyContact))
            {
                srvm.AgencyContact = "_________________________";
            }

            //  SpecialReferralBackButtonHelper("Set", srvm);

            DateTime today = Extras.DateTimeToday();

            ViewBag.SpecialReferralDate = today.ToString("MMM d, yyyy");
            return(View("PrintSpecialReferral", srvm));
        }