public ApiResult <T> GetAllPurposeOfTest <T>() where T : List <ValueListPurposeOfTest>
        {
            var result = inner.GetAllPurposeOfTest <T>();

            if (!result.Succeeded && LogError || result.Succeeded && LogGetSucceeded || stopwatch.ElapsedMilliseconds > LogLongTime)
            {
                logRepository.Add(new LogItem(stopwatch, userId, Guid.Empty, result.GetApiResutlt(), null, null, result.Data));
            }

            return(result);
        }
 public ApiResult <List <ValueListPurposeOfTest> > GetAllPurposeOfTest()
 {
     return(HandleRequest <List <ValueListPurposeOfTest> >() ?? valueListRepository.GetAllPurposeOfTest <List <ValueListPurposeOfTest> >());
 }