Handling concurrency condition in entity framework core to prevent race condition – Asp.net
I am trying to run a test case and trying to pass two schedules inside like below: var itemToAdd = new ScheduleInputItemDto { Start = DateTime.UtcNow, End = DateTime.UtcNow.AddHours(1), ProdType = "Prod1" }; var response = await Task.WhenAll(addItemRequest.Post(itemToAdd, false), addItemRequest.Post(itemToAdd,…