i have this code :
_catP.Include(c => c.Category).FirstOrDefault(x => x.Product.Id == id)
and i use the generic repository . i need to use this code generic in repository .
How Can do this ?
Aucun commentaire:
Enregistrer un commentaire