ErrorMessage :
Attaching an entity of type \'FaridCRMData.Models.Customer\' failed because another entity of the same type already has the same prim
If you are selecting some data in between Update operation (as i was getting problem). Don't use .ToList() or .Find() .... Instead of that use as IQueryable , then use .AsNoTracking()..... Problem solved.