Пример #1
0
        public List <TypeModel> UserTypes(int UserId)
        {
            TypeRepository _repo = new TypeRepository();

            return(_repo.TypesUser(UserId));
        }
Пример #2
0
        //public TypeModel() {ID = 1; }

        public List <TypeModel> FindAll()
        {
            TypeRepository _repo = new TypeRepository();

            return(_repo.Types());
        }