public List <IViewModel> GetAll(int input) { _myGetAllRepository = RepCreator.GetRepAll(); _getAll = new GetAll(input, _myGetAllRepository); return(_getAll.GetViewModel()); }
public AppGetAllService(IRepAll repository) { _repository = repository; _viewableList = new List <IViewable>(); _returnModels = new List <IViewModel>(); }
public GetAll(int inputInt, IRepAll inputRepository) { _repository = inputRepository; _localService = new AppGetAllService(_repository); evaluateInput(inputInt); }