This question is a common one, but I still can't understand how to update the related entity properly?...I have the following code:... public async Task<bool> UpdateStepAssignedToLevelAsync(Step step, Guid levelId, int priority = -1)
What is the best way to update data in EF core in asp.net core application?
I can do it like this...public class Repository<T> : IRepository<T> where T : BaseEntity
private DbContext context;
private DbSet<T> entities;