public CommentService( SocialMediaDbContext data, ITaggedUserService taggedUserService) { this._data = data; this._taggedUserService = taggedUserService; }
public CommentsController(SocialMediaDbContext context, SignInManager <User> signInManager, UserManager <User> userManager) { _context = context; _signInManager = signInManager; _userManager = userManager; }
public EmailModel( UserManager <User> userManager, SignInManager <User> signInManager, SocialMediaDbContext context) { _userManager = userManager; _signInManager = signInManager; this._context = context; }
public FriendsController(IHttpContextAccessor httpContextAccessor) { _httpContextAccessor = httpContextAccessor; _dbcontext = new SocialMediaDbContext(); var cookievalue = _httpContextAccessor.HttpContext.Request.Cookies["UserId"]; UserId = Int32.Parse(cookievalue); }
public HomeController(IHostingEnvironment environment, IHttpContextAccessor httpContextAccessor) { _httpContextAccessor = httpContextAccessor; _environment = environment; _dbcontext = new SocialMediaDbContext(); var cookievalue = _httpContextAccessor.HttpContext.Request.Cookies["UserId"]; UserId = Int32.Parse(cookievalue); }
public ChangePasswordModel( UserManager <User> userManager, SignInManager <User> signInManager, ILogger <ChangePasswordModel> logger, SocialMediaDbContext context) { _userManager = userManager; _signInManager = signInManager; _logger = logger; this._context = context; }
//Inject database instance as dependency public ProfileController(SocialMediaDbContext db) { _db = db; }
public AdminService(SocialMediaDbContext db, UserManager <User> userManager, RoleManager <IdentityRole> roleManager) { this.db = db; this.roleManager = roleManager; _userManager = userManager; }
public EfGenericRepository(SocialMediaDbContext ctx) { context = ctx; }
public FriendshipService(SocialMediaDbContext data) => this._data = data;
public ManageService(SocialMediaDbContext db) { this.db = db; }
//Inject database instance as dependency public AccountController(SocialMediaDbContext db) { _db = db; }
public MessageService(IUnitOfWork uow, UserManager <AppUser> userManager, SocialMediaDbContext context) { this.uow = uow; this.userManager = userManager; this.context = context; }
public EfFriendsRepository(SocialMediaDbContext context) : base(context) { }
public EfMessageRepository(SocialMediaDbContext context) : base(context) { }
public UserListService(SocialMediaDbContext dbContext) { _dbContext = dbContext; }
public EfUnitOfWork(SocialMediaDbContext _context) { context = _context ?? throw new ArgumentNullException("DbContext can not be null"); }
public UsersModel(SocialMediaDbContext db, ISearchService search) { _db = db; _search = search; }
public EfCommentRepository(SocialMediaDbContext context) : base(context) { }
public TaggedUserService(SocialMediaDbContext data) => this._data = data;
public ImageService(SocialMediaDbContext context) => this._data = context;
public GroupService( SocialMediaDbContext data) { this._data = data; }
public PictureService(SocialMediaDbContext db) { this.db = db; }
public SearchService(SocialMediaDbContext db) { this.db = db; }
public UserService(SocialMediaDbContext db) { this.db = db; }
public EfPostRepository(SocialMediaDbContext context) : base(context) { }
public ImageFetchingService(SocialMediaDbContext data) => this._data = data;
public CardService(SocialMediaDbContext dbContext) { _dbContext = dbContext; }
public CommentService(SocialMediaDbContext db) { this.db = db; }
public AlbumService(SocialMediaDbContext db) { this.db = db; }