public UsersServices(ChatingContext context) { _context = context; }
public MeessagesController(ChatingContext context, IFileService fileService) { _context = context; _fileService = fileService; }
public UsersController(ChatingContext context, IUserServices userService, IConfiguration configuration) { _userService = userService; _configuration = configuration; _context = context; }