Beispiel #1
0
        public ActionResult GetAddressDetails(AddressDetail Address)//, FormCollection collection,string Language
        {
            try
            {
                int    type         = Address.CustomerType;
                string databaseName = HttpContext.Session.GetString("Database_Name");

                IList <AddressDetail> addressDetails = _address.FindAddress(Address, type, databaseName);
                return(Json(addressDetails));
            }
            catch (Exception ex)
            {
                return(Json(ex.Message));
            }
        }