public CoursesController(ICourseService courseService, ITrainerService trainerService, ICarService carService, ISchoolService schoolService)
 {
     this.courseService  = courseService;
     this.trainerService = trainerService;
     this.carService     = carService;
     this.schoolService  = schoolService;
 }
 public TrainerController(IMapper mapper, UserManager <User> userManager, ITrainerService trainerService, ICourseService courseService)
     : base(mapper)
 {
     this.userManager    = userManager;
     this.trainerService = trainerService;
     this.courseService  = courseService;
 }
 public TrainerController(ITrainerService trainerService, IUserContext ctx, ITrainerQueryRepository trainerRepo, ICarnetService carnetService)
 {
     _ctx            = ctx;
     _queryTrainer   = trainerRepo;
     _trainerService = trainerService;
     _carnetService  = carnetService;
 }
Example #4
0
 public TrainerController(ITrainerService trainerService, UserManager <ApplicationUser> userManager,
                          ICourseService courseService)
 {
     this.trainerService = trainerService;
     this.userManager    = userManager;
     this.courseService  = courseService;
 }
 public TrainersController(ITrainerService trainers, UserManager <User> userManager, ICourseService courses, IStudentService students)
 {
     this.trainers    = trainers;
     this.courses     = courses;
     this.students    = students;
     this.userManager = userManager;
 }
Example #6
0
 public HomeController(ITrainerService trainerService, IBlobStorageService blobStorageService,
                       IUserRepoistory userRepoistory, ITrainedModelRepoistory trainedModelRepoistory)
 {
     _trainerService   = trainerService;
     _blobService      = blobStorageService;
     _userRepo         = userRepoistory;
     _trainedModelRepo = trainedModelRepoistory;
 }
 public HomeController(ITrainerService trainerService,
                       IStudentService studentService,
                       ILessonService lessonService)
 {
     _trainerService = trainerService;
     _studentService = studentService;
     _lessonService  = lessonService;
 }
Example #8
0
 public LessonsController(ILessonService lessonService, ICustomerService customerService, IOrderService orderService, ISchoolService schoolService, ITrainerService trainerService)
 {
     this.lessonService   = lessonService;
     this.customerService = customerService;
     this.orderService    = orderService;
     this.schoolService   = schoolService;
     this.trainerService  = trainerService;
 }
Example #9
0
 public HomeController(IExerciseService exerciseService, IExerciseTypeService exerciseTypeService, SignInManager <CustomIdentityUser> signInManager, ITrainerService trainerService, IBlogPostService blogPostService)
 {
     _exerciseService     = exerciseService;
     _exerciseTypeService = exerciseTypeService;
     _signInManager       = signInManager;
     _trainerService      = trainerService;
     _blogPostService     = blogPostService;
 }
Example #10
0
 public AdminController(IClientQueryRepository contextClient, ITrainerQueryRepository contextTrainer, IUserContext ctx, IClientService clientService, ITrainerService trainerService, ICarnetService carnetService)
 {
     _queryClient    = contextClient;
     _queryTrainer   = contextTrainer;
     _ctx            = ctx;
     _clientService  = clientService;
     _trainerService = trainerService;
     _carnetService  = carnetService;
 }
Example #11
0
 public TrainersController(
     ITrainerService trainers,
     ICourseService courses,
     UserManager <User> userManager)
 {
     this.trainers    = trainers;
     this.courses     = courses;
     this.userManager = userManager;
 }
Example #12
0
 public TrainersController(
     ITrainerService trainerService,
     ICourseService courseService,
     UserManager <User> userManager)
 {
     _trainerService = trainerService;
     _courseService  = courseService;
     _userManager    = userManager;
 }
 public LessonsController(ILessonService lessonService,
                          ITrainerService trainerService,
                          IStudentService studentService,
                          IEnumService enumService)
 {
     _lessonService  = lessonService;
     _trainerService = trainerService;
     _studentService = studentService;
     _enumService    = enumService;
 }
Example #14
0
 public BasicAuthenticationHandler(
     IOptionsMonitor <AuthenticationSchemeOptions> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     ITrainerService p_trainerService)
     : base(options, logger, encoder, clock)
 {
     _trainerService = p_trainerService;
 }
Example #15
0
        public TrainerViewModel()
        {
            CleanUp();
            _trainerService = new TrainerService();

            //FillTrainerTypes();
            CheckRoles();
            GetLiveTrainers();

            TrainerText = "Trainers/Staffs";
        }
Example #16
0
        public TrainersController(ITrainerService trainerService, IMapper mapper, IUser appUser)
        {
            _trainerService = trainerService;
            _mapper         = mapper;
            AppUser         = appUser;

            if (AppUser.IsAuthenticated())
            {
                UsuarioId          = appUser.GetUserId();
                UsuarioAutenticado = true;
            }
        }
Example #17
0
 public ResourcesController(
     UserManager <User> userManager,
     ICloudinaryService cloudinaryService,
     ICourseService courseService,
     IResourceService resourceService,
     ITrainerService trainerService)
 {
     this.userManager       = userManager;
     this.cloudinaryService = cloudinaryService;
     this.courseService     = courseService;
     this.resourceService   = resourceService;
     this.trainerService    = trainerService;
 }
 public TrainersController(
     UserManager <User> userManager,
     ICertificateService certificateService,
     ICourseService courseService,
     IExamService examService,
     ITrainerService trainerService)
 {
     this.userManager        = userManager;
     this.certificateService = certificateService;
     this.courseService      = courseService;
     this.examService        = examService;
     this.trainerService     = trainerService;
 }
Example #19
0
 public AdminController(IExerciseService exerciseService, IExerciseTypeService exerciseTypeService, IHostingEnvironment hostingEnvironment, ISupplementCategoryService supplementCategoryService, ISupplementService supplementService, ISupplementSubCategoryService supplementSubCategoryService, ITrainerService trainerService, IBlogPostService blogPostService, UserManager <CustomIdentityUser> userManager, CustomIdentityContext customIdentityContext, IOrderLineService orderLineService)
 {
     _exerciseService              = exerciseService;
     _exerciseTypeService          = exerciseTypeService;
     _hostingEnvironment           = hostingEnvironment;
     _supplementCategoryService    = supplementCategoryService;
     _supplementService            = supplementService;
     _supplementSubCategoryService = supplementSubCategoryService;
     _trainerService        = trainerService;
     _blogPostService       = blogPostService;
     _userManager           = userManager;
     _customIdentityContext = customIdentityContext;
     _orderLineService      = orderLineService;
 }
Example #20
0
 //import IConfiguration to be able to read data from appsettings.json
 public AdminController(
     ProfileDbContext db,
     IConfiguration configuration,
     UserManager <ApplicationUser> userManager,
     IResumeService resumeService,
     IStreamService streamService,
     IStudentService studentService,
     ITrainerService trainerService,
     IUserInfoService userInfoService)
 {
     _db              = db;
     _configuration   = configuration;
     _userManager     = userManager;
     _resumeService   = resumeService;
     _studentService  = studentService;
     _streamService   = streamService;
     _trainerService  = trainerService;
     _userInfoService = userInfoService;
 }
Example #21
0
 public TrainerViewComponent(ITrainerService trainerService)
 {
     _trainerService = trainerService;
 }
 public TrainersController(ITrainerService trainersService, UserManager <User> userManager, IFileService fileService)
 {
     this.trainerService = trainersService;
     this.userManager    = userManager;
     this.fileService    = fileService;
 }
Example #23
0
 public TrainersController(ITrainerService p_trainerService)
 {
     _trainerService = p_trainerService;
 }
Example #24
0
 public TrainersController(ITrainerService trainersService)
 {
     _trainersService = trainersService;
 }
Example #25
0
 public TrainerController(IErrorService errorService, ITrainerService trainerService) : base(errorService)
 {
     this._trainerService = trainerService;
 }
 public TrainerController(ITrainerService trs)
 {
     this.trs = trs;
 }
Example #27
0
 public TrainerController(ITrainerService trainerService, IMapper mapper, IOptions <AppSettings> appSettings)
 {
     _trainerService = trainerService;
     _mapper         = mapper;
     _appSettings    = appSettings.Value;
 }
Example #28
0
 public TrainerController(ITrainerService trainerService, IMapper mapper)
 {
     this.trainerService = trainerService;
     this.mapper         = mapper;
 }
Example #29
0
 public TrainersController(ITrainerService trainerService, IMapper mapper)
 {
     _trainerService = trainerService;
     _mapper         = mapper;
 }
Example #30
0
 public EditModel(ITrainerService trainerService)
 {
     _trainerService = trainerService;
 }