Exemplo n.º 1
0
        public DataSet GetFilteredAddress(string countryId, string stateId, string isActive)
        {
            bool ia;

            ia = isActive == "1" ? true : false;
            return(AddressBookDB.GetFilteredAddressbook(countryId, stateId, ia));
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public DataSet GetUserAddress()
 {
     return(AddressBookDB.GetUserAddresses());
 }
Exemplo n.º 4
0
        public void DeleteAddress(int adressId)
        {
            Address objAddbook = new Address(adressId, 0, 0, "", "", "", "", "", "", "", "", 0, false);

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