public HomeController(IUnitOfWork unitOfWork, UserManager <ApplicationUser> userManager, IMapper mapper, IProfileImage profileImage)
 {
     _unitOfWork   = unitOfWork;
     _userManager  = userManager;
     _mapper       = mapper;
     _profileImage = profileImage;
 }
 public IndexModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender, IProfileImage _uploadImage)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _uploadImage   = uploadImage;
 }
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender, IProfileImage ProfileImage)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _emailSender   = emailSender;
     _profileImage  = ProfileImage;
 }