public List <TypeModel> UserTypes(int UserId) { TypeRepository _repo = new TypeRepository(); return(_repo.TypesUser(UserId)); }
//public TypeModel() {ID = 1; } public List <TypeModel> FindAll() { TypeRepository _repo = new TypeRepository(); return(_repo.Types()); }