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);
        }
示例#2
0
    public void TriggerNoteEdit(string noteText)
    {
        string id = transform.parent.parent.GetComponent <NoteInfo>().GetId();

        noteManager.EditNote(id, noteText);
    }