Пример #1
0
 public HomeController(SourceManagerEF sourceManagerEF, EFContext context, UserManager <UserModel> userManager, SignInManager <UserModel> signInManager, RoleManager <IdentityRole <int> > roleManager)
 {
     _userManager     = userManager;
     _signInManager   = signInManager;
     _roleManager     = roleManager;
     _context         = context;
     _sourceManagerEF = sourceManagerEF;
 }
 public EditAlbumController(
     SourceManagerEF sourceManagerEF,
     EFContext context,
     SourceManagerViewData sourceManagerViewData,
     SourceManagerDeleteAlbum sourceManagerDeleteAlbum)
 {
     _context                  = context;
     _sourceManagerEF          = sourceManagerEF;
     _sourceManagerViewData    = sourceManagerViewData;
     _sourceManagerDeleteAlbum = sourceManagerDeleteAlbum;
 }
 public DiscogsController(SourceManagerEF sourceManagerEF, EFContext context, DiscogsClientModel discogsClient)
 {
     _context         = context;
     _sourceManagerEF = sourceManagerEF;
     _discogsClient   = discogsClient;
 }