public override List <MIDAS.GBX.BusinessObjects.BusinessValidation> Validate <T>(T entity)
        {
            BO.DoctorLocationSchedule schedule = (BO.DoctorLocationSchedule)(object) entity;
            var result = schedule.Validate(schedule);

            return(result);
        }
 public override List <MIDAS.GBX.BusinessObjects.BusinessValidation> Validate <T>(T entity)
 {
     if (entity is List <BO.DoctorLocationSchedule> )
     {
         List <BO.DoctorLocationSchedule> lstdoctorlocationschedule = (List <BO.DoctorLocationSchedule>)(object) entity;
         //var result = lstdoctorlocationschedule.Validate(doctorlocationschedule);
         List <MIDAS.GBX.BusinessObjects.BusinessValidation> result = new List <BO.BusinessValidation>();
         return(result);
     }
     else
     {
         BO.DoctorLocationSchedule doctorlocationschedule = (BO.DoctorLocationSchedule)(object) entity;
         var result = doctorlocationschedule.Validate(doctorlocationschedule);
         return(result);
     }
 }