public TItem GetById(string id) { var result = _dataConnector.GetQuery <TItem>(i => i.Id == id); return(result.Count > 0 ? result[0] : null); }