Пример #1
0
        public GetAllCommTypesDataResponse GetAllCommTypes(GetAllCommTypesDataRequest request)
        {
            GetAllCommTypesDataResponse response = new GetAllCommTypesDataResponse();
            ILookUpRepository           repo     = Factory.GetRepository(request, RepositoryType.LookUp);
            List <CommTypeData>         data     = repo.GetAllCommTypes();

            if (data != null)
            {
                response.CommTypes = data;
            }
            return(response);
        }