Custom method in a model, gives a "not found" error - Prisma