public RecordsController(IHostingEnvironment hostingEnvironment, RecordsServices RecordeService
                          , IService <Patient> Patientservice)
 {
     this.hostingEnvironment = hostingEnvironment;
     recordeService          = RecordeService;
     patientservice          = Patientservice;
 }
Ejemplo n.º 2
0
 public PatientsController(ApplicationDbContext context, IService <Patient> Patientservice
                           , IHostingEnvironment hostingEnvironment, RecordsServices RecordeService
                           , AppointmentServices appointmentsServices)
 {
     _context                  = context;
     patientservice            = Patientservice;
     this.hostingEnvironment   = hostingEnvironment;
     recordeService            = RecordeService;
     this.appointmentsServices = appointmentsServices;
 }
 public StudentServices(
     IDataManager <StudentProfile> manager,
     IDataManager <StudentAddress> addressManager,
     IDataManager <SchoolTeacher> teacherManager,
     SchoolYearServices sy,
     RecordsServices records,
     SchoolContext context,
     UserManager <SchoolUser> userManager,
     IOptions <GeneralSettings> settings)
 {
     _manager        = manager;
     _context        = context;
     _userManager    = userManager;
     _settings       = settings.Value;
     _addressManager = addressManager;
     _teacherManager = teacherManager;
     _sy             = sy;
     _records        = records;
 }
Ejemplo n.º 4
0
 public TeacherController(TeacherServices teacher, RecordsServices records, UserManager <SchoolUser> userManager) : base(userManager)
 {
     _teacher = teacher;
     _records = records;
 }