public void SaveSequenceData(IList <CazyItem> items, UserProject userProject) { db.AddItems <Sequence>(items.Select(x => new Sequence(x) { ProjectId = userProject.ProjectId }).ToList(), userProject.UserId); }