Пример #1
0
 public ImageRepository(SocialNetContext context) : base(context)
 {
 }
Пример #2
0
 public HomeController(ILogger <HomeController> logger, SocialNetContext context)
 {
     _logger = logger;
     _db     = context;
 }
Пример #3
0
 public PostController(SocialNetContext context, IAuthorizationService service, IMessageSender messageSender)
 {
     _db            = context;
     _authorization = service;
     _messageSender = messageSender;
 }
Пример #4
0
 public UserController(SocialNetContext context)
 {
     _context = context;
 }
 public AccountRepository(SocialNetContext context) : base(context)
 {
 }
Пример #6
0
 public BaseRepository(SocialNetContext context)
 {
     Context = context;
 }
Пример #7
0
 public CommentController(SocialNetContext context)
 {
     _db = context;
 }
Пример #8
0
 public UserRepository(SocialNetContext context) : base(context)
 {
 }