Exemple #1
0
        public async Task EditAsyncNotes(ActivityNoteModel model)
        {
            var notes = await _repository.GetAsyncNotes(model.Id);

            ActivitiesFactory.CreateNotes(model, notes, _userId);
            _repository.EditNotes(notes);
            await _unitOfWork.SaveChangesAsync();
        }