Esempio n. 1
0
        public WebApiResult <bool> UpdateChecklistComment([FromBody] OapChecklistComment list)
        {
            if (list == null)
            {
                throw new System.Exception("Argument is null");
            }

            return(TryCatch <UpdateChecklistCommentRequest, bool>(new UpdateChecklistCommentRequest(list)));
        }
Esempio n. 2
0
 public WebApiResult <OapChecklistComment> AddChecklistComment([FromBody] OapChecklistComment list)
 {
     return(TryCatch <AddChecklistCommentRequest, OapChecklistComment>(new AddChecklistCommentRequest(list)));
 }
Esempio n. 3
0
 public UpdateChecklistCommentRequest(OapChecklistComment comment)
 {
     ChecklistComment = comment;
 }