public List <IViewModel> GetAll(int input)
        {
            _myGetAllRepository = RepCreator.GetRepAll();

            _getAll = new GetAll(input, _myGetAllRepository);

            return(_getAll.GetViewModel());
        }
Exemple #2
0
 public AppGetAllService(IRepAll repository)
 {
     _repository   = repository;
     _viewableList = new List <IViewable>();
     _returnModels = new List <IViewModel>();
 }
Exemple #3
0
 public GetAll(int inputInt, IRepAll inputRepository)
 {
     _repository   = inputRepository;
     _localService = new AppGetAllService(_repository);
     evaluateInput(inputInt);
 }