public IndexModel( UserManager <User> userManager, SignInManager <User> signInManager, IEmailSender emailSender, ICategoriesRepository categoriesRepository, IBorrowsRepository borrowsRepository) { _userManager = userManager; _signInManager = signInManager; _emailSender = emailSender; _catRepo = categoriesRepository; _borrowRepo = borrowsRepository; }
public BorrowsController(IBorrowsRepository borrowRepository) { _borrowRepo = borrowRepository; }