public Guid Create2(Nullable <System.Guid> userId, string name, string englishCenter, string englishCenterIcon, string englishCenterDescription) { var quizId = Guid.NewGuid(); var result = db.qz_Quiz_Create2( quizId, userId, name, englishCenter, englishCenterIcon, englishCenterDescription).Single(); if (result > 0) { return(quizId); } else { return(Guid.Empty); } }