public IEnumerable <Pattern> GetPatternsByLevel(Pattern p)
 {
     return(_context.GetPatternByLevel(p.NameLevel));
 }