public ImBaseController(IFileSystem fileService, IUserContext userService, ISender rabbitMqDB, RedisService.Iface redisDB, MysqlService.Iface mysqlDB) { _redisDB = redisDB; _mysqlDB = mysqlDB; _rabbitMqDB = rabbitMqDB; _userService = userService; _fileService = fileService; }
public Receives(MysqlService.Iface mysqlDB) { _mysqlDB = mysqlDB; _rabbitMqDB = CicadaFacade.Container.Resolve <ISender>(); }
public ImageController(IFileSystem fileService, MysqlService.Iface mysqlService, UserInfoService.Iface userService) { _userService = userService; _fileService = fileService; _mysqlService = mysqlService; }