public ChatsController(MyDbContext chat, IConfiguration conf) { _conf = conf; this._repo = new ChatsMessageService(chat, _conf); }
public FoldersController(MyDbContext EntitiesService, IConfiguration conf) { _conf = conf; this._repo = new FoldersService(EntitiesService); this._chat = new ChatsMessageService(EntitiesService, conf); }