Exemple #1
0
        public DataSet GetFilteredAddress(string countryId, string stateId, string isActive)
        {
            bool ia;

            ia = isActive == "1" ? true : false;
            return(AddressBookDB.GetFilteredAddressbook(countryId, stateId, ia));
        }
Exemple #2
0
        public void UpdateAddress(int addressId, int stateId, int userId, string firstName, string lastName, string emailId, string phoneNo, string address1, string address2, string city, string street, long zipCode, bool isActive)
        {
            Address objAddbook = new Address(addressId, stateId, userId, firstName, lastName, emailId, phoneNo, address1, address2, street, city, zipCode, isActive);

            objAddbook.Validate();
            AddressBookDB.ManageAddress(objAddbook, ActionType.Edit);
        }
Exemple #3
0
 public DataSet GetUserAddress()
 {
     return(AddressBookDB.GetUserAddresses());
 }
Exemple #4
0
        public void DeleteAddress(int adressId)
        {
            Address objAddbook = new Address(adressId, 0, 0, "", "", "", "", "", "", "", "", 0, false);

            AddressBookDB.ManageAddress(objAddbook, ActionType.Delete);
        }
Exemple #5
0
 public Address GetAddress(int addressId)
 {
     return(AddressBookDB.GetAddress(addressId));
 }
Exemple #6
0
 public void InsertAddress(Address objAddbook)
 {
     objAddbook.Validate();
     AddressBookDB.ManageAddress(objAddbook, ActionType.Add);
 }
Exemple #7
0
 public ContctService(AddressBookDB _context)
 {
     this.context = _context;
     this.solr    = ServiceLocator.Current.GetInstance <ISolrOperations <DataServices.Contact> >();
 }