public long CreateEntry(MainStreamSurprise entry) { entry = db.MainStreamSurprise.Add(entry); db.SaveChanges(); return(entry.Id); }
public long CreateEntry(MainStreamSurprise entry) { long entryId = repository.CreateEntry(entry); return(entryId); }