public EMProfile SaveEMProfile(EMProfile profile) { if (profile.Id == 0) { profile.Id = entertainmentProfileCollection.Insert(profile); } else { profile.Updated(); _ = entertainmentProfileCollection.Update(profile); } return(profile); }