public AuthService(IOptions <AppSettings> appSettings, DiplomaContext dbContext, IHashService hashService) { _appSettings = appSettings.Value; _dbContext = dbContext; _hashService = hashService; }
public ProfileController(DiplomaContext context, IFileManager fileManager) { _context = context; _fileManager = fileManager; }
public UserService(IOptions <AppSettings> appSettings, DiplomaContext context) { _appSettings = appSettings.Value; _context = context; }
public UserController(IUserService userService, DiplomaContext diplomaContext) { _context = diplomaContext; _userService = userService; }
public ChatController(DiplomaContext context) { _context = context; }
public ContactsController(DiplomaContext context) { _context = context; }
// private User _User; public RequestController(DiplomaContext context) { _context = context; //_User = (MyDiploma.Entities.User)HttpContext.Items["User"]; }