private async Task GetFromFile(string path) { _users = await _fileWorker.DeserializeAsync <ConcurrentDictionary <string, User> >(path) ?? new ConcurrentDictionary <string, User>(); }
private async Task GetFromFile(string path) { _users = await _fileWorker.DeserializeAsync <ConcurrentDictionary <string, User> >(path) ?? new ConcurrentDictionary <string, User>(); }