public int Update(Address address)
 {
     return base.ExecuteNonQuery(string.Format("EXEC Address_Update {0},{1},'{2}',{3},{4} ", address.Id, address.User.ID, address.StreetAddress, address.City.ID, address.State.ID, address.Country.ID));
 }
 public int Update(int ID, int LocationID, string CongregationCenterName, CongregationCenterType CongregationCenterType, PrayerTiming PrayerTiming, Sect sect, PreachingType Preachingtype, Address Address, GPSLOC GPSLOC, int Street, City City, State State, Country Country)
 {
     return new CongregationData().Update(new Congregation() { ID = ID, LocationID = LocationID, CongregaionCenterName = CongregationCenterName, CongregationCenterType = CongregationCenterType, PrayerTiming = PrayerTiming, sect = sect, PreachingTiming = Preachingtype, Address = Address, GPSLOC = GPSLOC, Street = Street, City = City, State = State, Country = Country });
 }
 public int Add(Address addess)
 {
     return base.ExecuteNonQuery(string.Format("EXEC Address_Add {0},'{1}','{2}','{3}','{4}'", addess.User.ID, addess.StreetAddress, addess.City.ID, addess.State.ID, addess.Country.ID));
 }
 public int Register(int id, string firstName, string lastName, string password, Address address, UserType userType, Source source, string createdBy, string createdOn, string voided, string voidedBy, string voidedOn, string reasonVoided, string Email, int CNIC, string Gender, Sect sect, GPSLOC gpsloc)
 {
     return new UserData().Register(new User() { ID = id, FirstName = firstName, LastName = lastName, Password = password, Address = address, UserType = userType, Source = source, CreatedBy = createdBy, CreatedOn = createdOn,  VoidedBy = voidedBy, VoidedOn = voidedOn, ReasonVoided = reasonVoided, Email = Email, CNIC = CNIC, Gender = Gender, Sect = sect, GPSLOC = gpsloc });
 }