Exemplo n.º 1
0
        /// <summary>
        /// Initialize of controller
        /// </summary>
        /// <param name="medicalSpecialistService">Medical Specialist services <see cref="IMedicalSpecialistService"/></param>
        /// <param name="fileService">File services <see cref="IFileServices"/></param>
        public SpecialistController(IMedicalSpecialistService medicalSpecialistService,
                                    IFileServices fileService)
        {
            _medicalSpecialistService = medicalSpecialistService;
            _fileService = fileService;

            //init
            _medicalSpecialistService.Initialize(new ModelStateWrapper(this.ModelState));
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initialize class
 /// </summary>
 /// <param name="medicalSpecialistService"></param>
 public SpecialistController(IMedicalSpecialistService medicalSpecialistService)
 {
     _medicalSpecialistService = medicalSpecialistService;
 }