Example #1
0
        //[HttpGet]
        //[AuthSecurityFilter(ProjectObject = "Country", Mode = "R")]
        public ActionResult MasterPartial(int masterCode)
        {
            CountryViewModel CountryVM = masterCode == 0 ? new CountryViewModel() : Mapper.Map <Country, CountryViewModel>(_contryBusiness.GetCountry(masterCode));

            CountryVM.IsUpdate = masterCode == 0 ? false : true;
            return(PartialView("_AddCountry", CountryVM));
        }