Пример #1
0
 public IndexModel(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     IEmailSender emailSender,
     ICategoriesRepository categoriesRepository,
     IBorrowsRepository borrowsRepository)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _catRepo       = categoriesRepository;
     _borrowRepo    = borrowsRepository;
 }
Пример #2
0
 public BorrowsController(IBorrowsRepository borrowRepository)
 {
     _borrowRepo = borrowRepository;
 }