I am add data in database working fine in local db but not working on live db and give me exception (Database operation expected to affect 1 row(s) but actually affected 0 row(s)) here is my code
var cal = new OutCall();
cal.PhoneNumberCalled = call.To;
cal.DateAdd = DateTime.Now;
cal.WorkerId = workerId;
_myDbContext.OutCalls.Add(cal);
_myDbContext.SaveChanges();