public int CountComment(Guid PostID) { using (var db = new CarOnlineEntities()) { int count = (int)db.WEB_CARONLINE_SP_CountComment(PostID).First(); return(count); } }
public int CountComment(Guid PostID) { using (var db = new CarOnlineEntities()) { int count = (int)db.WEB_CARONLINE_SP_CountComment(PostID).First(); return(count); } }