int newProjectId = 0;
// [1] Projects Copy
using (var ctx = new DashboardContext())
{
var tempProject = ctx.Projects.AsNoTracking().Where(p => p.Id == ProjectId).SingleOrDefault();
tempProject.Id = 0;
ctx.Projects.Add(tempProject);
ctx.SaveChanges();
newProjectId = tempProject.Id;
}