public CourseController(ICourseDbService courseDbService, ITeacherDbService teacherDbService, ILocationDbService locationDbService, IMapper mapper) { _courseService = courseDbService; _teacherService = teacherDbService; _locationService = locationDbService; _mapper = mapper; }
public Teacher2Controller( ) { ob = new Sms(); // dbContext = new AppDbContext(); DbService = new TeacherDbService(); }
public TeacherService(IMapper mapper, ITeacherDbService tchService) { _tchService = tchService; _mapper = mapper; }
public TeacherController(ITeacherDbService teacherDbService, IMapper mapper) { _teacherService = teacherDbService; _mapper = mapper; }