public async Task EditAsyncNotes(ActivityNoteModel model) { var notes = await _repository.GetAsyncNotes(model.Id); ActivitiesFactory.CreateNotes(model, notes, _userId); _repository.EditNotes(notes); await _unitOfWork.SaveChangesAsync(); }
public async Task EditAsyncNotes(ActivityNoteModel model) { var notes = await _repository.GetAsyncNotes(model.Id); ActivitiesFactory.CreateNotes(model, notes, _userId); _repository.EditNotes(notes); await _unitOfWork.SaveChangesAsync(); }