Does it matter we put the entity state = modified after changes or before making changes?
using (var db = new LakshyaContext()) { foreach (var category in db