public ProjectsController(ApplicationDbContext context,
                           IHostingEnvironment environment,
                           IGetFundedAmount fundedAmount,
                           IAuthorizationService authorizationService,
                           UserManager <ApplicationUser> userManager)
 {
     _context              = context;
     _fundedAmount         = fundedAmount;
     _authorizationService = authorizationService;
     _userManager          = userManager;
     _environment          = environment;
 }
 public HomeController(ApplicationDbContext context,
                       IHostingEnvironment environment,
                       UserManager <ApplicationUser> userManager,
                       SignInManager <ApplicationUser> signInManager,
                       IGetFundedAmount fundedAmount,
                       IContactEmailSender emailSender)
 {
     _context       = context;
     _environment   = environment;
     _userManager   = userManager;
     _signInManager = signInManager;
     _fundedAmount  = fundedAmount;
     _emailSender   = emailSender;
 }