//for this product public pb_ProductTag GetByUserAndTagId(Guid userId, Guid hashTagId) { var result = db.pb_ProductTag_GetbyUserAndTag( productId, userId, hashTagId).ToList(); if (result.Count > 0) { return(result.First()); } else { return(null); } }