public ActionResult UpdateAdressDetail(AddressDetailViewModel model)
        {
            bool status = addmissionService.UpdateAddressDetail(model);
            LogActivityViewModel log = new LogActivityViewModel();

            log.EnteredBy       = Convert.ToInt32(Session["UserId"]);
            log.EnteredDate     = DateTime.Now;
            log.ActioName       = "UpdateAdressDetail";
            log.ModuleName      = "Admission";
            log.ControllerName  = "Addmission";
            log.Activity        = "Update Address Detail";
            log.ActivityMessage = "Admission address detail of registraion no " + model.RegNo + " updated.";
            log.RegistrationNo  = Convert.ToInt32(model.RegNo);
            logActivityService.CreateLogActivity(log);
            return(Json(status, JsonRequestBehavior.AllowGet));
        }