public MovieController() { context = new BlockbusterContext(); // setup AutoMapper configuration config = new MapperConfiguration(cfg => { cfg.AddProfile <MappingProfile>(); }); }
public VideosController(BlockbusterContext db) { _db = db; }
public CustomersController(UserManager <Customer> userManager, SignInManager <Customer> signInManager, BlockbusterContext db) { _userManager = userManager; _signInManager = signInManager; _db = db; }