public static TherpistRepository GetInstance(TherapistService service)
 {
     if (instance == null)
     {
         instance = new TherpistRepository(service);
     }
     return(instance);
 }
 public static TherapistService GetInstance()
 {
     if (singleton == null)
     {
         singleton = new TherapistService();
     }
     return(singleton);
 }
 private TherpistRepository(TherapistService service)
 {
     this.service = service;
 }