Пример #1
0
        protected async Task <RepositoryResponse <TUpdate> > GetSingleAsync(Expression <Func <TModel, bool> > predicate = null)
        {
            RepositoryResponse <TUpdate> data = null;

            if (predicate != null)
            {
                data = await _updRepo.GetSingleModelAsync(predicate);
            }
            return(data);
        }