public int Update(int ID, string PrayerTime, Prayer prayer, Congregation congregation, User user)
 {
     return new PrayerTimingData().Update(new PrayerTiming() { ID = ID, prayertime = PrayerTime, Prayer = prayer, Congregation = congregation, user = user });
 }
 public int Register(User user)
 {
     return base.ExecuteNonQuery(string.Format("EXEC USER_ADD {0},'{1}','{2}','{3}','{4}','{5}','{6}','{7}','{8}','{9}','{10}','{11}'",user.FirstName,user.LastName,user.Password,user.Address.Id,user.UserType.ID,user.Source.ID,user.CreatedBy,user.CreatedOn,user.Voided,user.VoidedOn,user.ReasonVoided));
 }
 public int Update(int ID, string UserRole, User user)
 {
     return new RoleData().Update(new Role() { ID = ID, UserRole = UserRole, User = user });
 }
 public int Update(int ID, User user, int Myproperty, string StreetAddress, City city, State state, Country country)
 {
     return new AddressData().Update(new Address() { Id = ID, User = user, MyProperty = Myproperty, StreetAddress = StreetAddress, City = city, State = state, Country = country });
 }
 public int Add(int ID, string UserRole, User user)
 {
     return new RoleData().Add(new Role() {ID=ID,UserRole=UserRole,User=user });
 }