public ExerciseController(GymLadContext context, IMapper mapper, UserManager <Person> userManager, IAuthorizationService authorisationService) { _context = context; _mapper = mapper; _userManager = userManager; _authorisationService = authorisationService; }
public PersonController(GymLadContext context, IMapper mapper, UserManager <Person> userManager, SignInManager <Person> signInManager, IOptions <TokenManagement> tokenManagement, IAuthorizationService authorisationService) { _context = context; _mapper = mapper; _userManager = userManager; _signInManager = signInManager; _tokenManagement = tokenManagement.Value; _authorisationService = authorisationService; }
public SetController(GymLadContext context, IMapper mapper, IAuthorizationService authorisationService) { _context = context; _mapper = mapper; _authorisationService = authorisationService; }