public async Task CreateAsync(Person.Models.Person item) => await sqlContext.Persons.AddAsync(item);
public Task UpdateAsync(Person.Models.Person item) => Task.FromResult(sqlContext.Entry(item).State = EntityState.Modified);
public async Task UpdateAsync(Person.Models.Person person) { await unitOfWork.Persons.UpdateAsync(person); await unitOfWork.Persons.SaveAsync(); }