예제 #1
0
 /// <summary>
 /// Initializes the database context and Automapper.
 /// </summary>
 /// <param name="context"></param>
 /// <param name="mapper"></param>
 public VideosController(ClipKeeperContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 /// <summary>
 /// Initializes the database context and Automapper.
 /// </summary>
 /// <param name="context"></param>
 /// <param name="mapper"></param>
 public PerformersController(ClipKeeperContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }