Ejemplo n.º 1
0
        public static NJ_APIFilter UserDetailsAPI()
        {
            NJ_APIFilter objApi = new NJ_APIFilter();

            objApi = HttpContext.Current.Session["UserDate"] as NJ_APIFilter;
            return(objApi);
        }
Ejemplo n.º 2
0
        public static string SaveInfo(string ViolationDate      = "", string ViolationDescription = "", string Disposition = "", string AdjudicatedDate = "", string AdjudicatedDescription = "",
                                      string StateCode          = "", string countryCode      = "", string DMVPoints          = "", string INSPoints = "", string CourtDate = "", string CaseType = "", string ChargeCount = "", string Docket = "",
                                      string Summons            = "", string ViolationAcdCode = "", string AdjudicatedAcdCode = "", string AdjudicatedStatute = "", string ViolationStatute = "", string AdjudicatedCustomerCode = "", string ViolationCustomerCode = "",
                                      string ViolationStateCode = "", string FName            = "", string LName = "", string Address1 = "", string Address2 = "", string City = "", string State = "", string zip = "", string DOB = "", string Phone = "", string Email = "", string Gender = "")
        {
            NJ_APIFilter obj = new NJ_APIFilter();

            obj.ViolationDate          = ViolationDate;
            obj.ViolationDescription   = ViolationDescription;
            obj.Disposition            = Disposition;
            obj.AdjudicatedDate        = AdjudicatedDate;
            obj.AdjudicatedDescription = AdjudicatedDescription;
            obj.StateCode               = StateCode;
            obj.countryCode             = countryCode;
            obj.DMVPoints               = DMVPoints;
            obj.INSPoints               = INSPoints;
            obj.CourtDate               = CourtDate;
            obj.CaseType                = CaseType;
            obj.ChargeCount             = ChargeCount;
            obj.Docket                  = Docket;
            obj.Summons                 = Summons;
            obj.ViolationAcdCode        = ViolationAcdCode;
            obj.AdjudicatedAcdCode      = AdjudicatedAcdCode;
            obj.AdjudicatedStatute      = AdjudicatedStatute;
            obj.ViolationStatute        = ViolationStatute;
            obj.AdjudicatedCustomerCode = AdjudicatedCustomerCode;
            obj.ViolationCustomerCode   = ViolationCustomerCode;
            obj.ViolationStateCode      = ViolationStateCode;
            obj.FName    = FName;
            obj.LName    = LName;
            obj.Address1 = Address1;
            obj.Address2 = Address2;
            obj.City     = City;
            obj.State    = State;
            obj.zip      = zip;
            obj.DOB      = DOB;
            obj.Phone    = Phone;
            obj.Email    = Email;
            obj.Gender   = Gender;
            HttpContext.Current.Session["UserDate"] = obj;
            return("done");
        }