public RegisterDoctorCommandHandler(
     ICurrentUser currentUser,
     IIdentity identity,
     IDoctorFactory doctorFactory,
     IDoctorRepository doctorRepository)
 {
     this.currentUser      = currentUser;
     this.identity         = identity;
     this.doctorFactory    = doctorFactory;
     this.doctorRepository = doctorRepository;
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="doctorService"></param>
 /// <param name="doctorFactory"></param>
 public DoctorController(IDoctorService doctorService, IDoctorFactory doctorFactory)
 {
     _doctorService = doctorService;
     _doctorFactory = doctorFactory;
 }