public AlbumController(IObjectFactory factory) : base() { _manager = factory.Resolve <IAlbumManager>(); albumManager = factory.Resolve <IAlbumManager>(); artistManager = factory.Resolve <IArtistManager>(); _mainCrudView = "~/Views/Album/Index.cshtml"; }
public ArtistsController(IArtistManager artistManager, ISongManager songManager, UserManager <ApplicationUser> userManager, IEmailsManager emailsManager, IS3Manager s3Manager) : base(userManager) { _songManager = songManager; _s3Manager = s3Manager; _emailsManager = emailsManager; _artistManager = artistManager; }
public RecordLabelsController(IArtistManager artistsManager, UserManager <ApplicationUser> userManager, IEmailsManager emailsManager, IRecordLabelManager recordLabelManager, IS3Manager s3Manager) : base(userManager) { _artistsManager = artistsManager; _emailsManager = emailsManager; _recordLabelManager = recordLabelManager; _s3Manager = s3Manager; }
public HomeController(ISearchManager searchManager, ILogger <HomeController> logger, ISongManager songsManager, IArtistManager artistsManager, IRecordLabelManager recordLabelManager, IEmailsManager emailManager, UserManager <ApplicationUser> userManager) : base(userManager) { _songsManager = songsManager; _artistsManager = artistsManager; _recordLabelManager = recordLabelManager; _emailManager = emailManager; _logger = logger; _searchManager = searchManager; }
public AccountController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailsManager emailManager, ILogger <AccountController> logger, IArtistManager manager) : base(userManager) { _signInManager = signInManager; _emailManager = emailManager; _logger = logger; _artistsManager = manager; }
public ArtistController(IArtistManager artistManager, ILogger <ArtistController> logger, IValidation validation) { this.artistManager = artistManager; this.logger = logger; this.validation = validation; }
public void Setup() { mongoDBPersistance = new Mock <IMongoDBPersistance>(); _artistManager = new ArtistManager(mongoDBPersistance.Object); }