public NotificationsController(BTRContext context)
 {
     _context = context;
 }
Пример #2
0
        //private UserPrincipalService _userPrincipal;


        public ThemesController(BTRContext context)
        {
            _context = context;
        }
Пример #3
0
 /// <summary>
 /// Constructs the comments controller with the BTR database context
 /// </summary>
 /// <param name="context">A <see cref="BTRContext"/></param>
 public CommentsController(BTRContext context)
 {
     _context = context;
 }
Пример #4
0
 /// <summary>
 /// Constructs the comments controller with the BTR database context
 /// </summary>
 /// <param name="context">A <see cref="BTRContext"/></param>
 public StatusController(BTRContext context)
 {
     _context = context;
 }
Пример #5
0
 /// <summary>
 /// Constructs the ideas controller with the BTR database context
 /// </summary>
 /// <param name="context">A <see cref="BTRContext"/></param>
 public IdeasController(BTRContext context)
 {
     _context = context;
 }