public TransactionObject EditNote(EditNoteFormData note) { TransactionObject response = new TransactionObject(); try { noteManager.EditNote(note); uow.Save(); response.IsSuccess = true; } catch (Exception ex) { response.IsSuccess = false; response.Explanation = base.GetExceptionMessage(ex); } return(response); }
public void TriggerNoteEdit(string noteText) { string id = transform.parent.parent.GetComponent <NoteInfo>().GetId(); noteManager.EditNote(id, noteText); }