Example #1
0
        public List <IViewModel> SearchData(IDTO inputDto)
        {
            _mySearchRepository = RepCreator.GetRepSearcher();

            _search = new Search(inputDto, _mySearchRepository);

            return(_search.GetViewModel());
        }
Example #2
0
        public List <IViewModel> GetAll(int input)
        {
            _myGetAllRepository = RepCreator.GetRepAll();

            _getAll = new GetAll(input, _myGetAllRepository);

            return(_getAll.GetViewModel());
        }
Example #3
0
        public IViewModel DeleteData(IDTO inputDto)
        {
            _myRepository = RepCreator.GetRepDeleter();

            _sru = new SaveReadUpdate(inputDto, _myRepository);

            return(_sru.GetViewModel());
        }