public AccountService(UserManager <User> userManager,
                       RoleManager <IdentityRole> roleManager,
                       SignInManager <User> signInManager,
                       TradeUnionCommitteeIdentityContext context,
                       IMapper mapper)
 {
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
     _context       = context;
     _mapper        = mapper;
 }
 public AccountService(UserManager <User> userManager,
                       RoleManager <IdentityRole> roleManager,
                       SignInManager <User> signInManager,
                       TradeUnionCommitteeIdentityContext context,
                       AutoMapperConfiguration mapperService)
 {
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
     _context       = context;
     _mapperService = mapperService;
 }