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 Update(Congregation congregation)
 {
     return base.ExecuteNonQuery(string.Format("EXEC Congregation_Update {0},{1},'{2}',{3},{4},{5},{6},'{7}',{8},'{9}',{10},{11},{12}",congregation.ID,congregation.LocationID,congregation.CongregaionCenterName,congregation.CongregationCenterType.Id, congregation.PrayerTiming.ID,congregation.sect.ID, congregation.PreachingTiming,congregation.Address,congregation.GPSLOC,congregation.Street,congregation.City,congregation.State,congregation.Country));
 }