Exemple #1
0
        public TItem GetById(string id)
        {
            var result = _dataConnector.GetQuery <TItem>(i => i.Id == id);

            return(result.Count > 0 ? result[0] : null);
        }