public MoviesController() { _mapper = AutomapperWebConfiguration.Configure().CreateMapper(); _context = new ApplicationDbContext(); }
public NotificationsController(IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _mapper = AutomapperWebConfiguration.Configure().CreateMapper(); }