public WebApiResult <bool> UpdateChecklistComment([FromBody] OapChecklistComment list) { if (list == null) { throw new System.Exception("Argument is null"); } return(TryCatch <UpdateChecklistCommentRequest, bool>(new UpdateChecklistCommentRequest(list))); }
public WebApiResult <OapChecklistComment> AddChecklistComment([FromBody] OapChecklistComment list) { return(TryCatch <AddChecklistCommentRequest, OapChecklistComment>(new AddChecklistCommentRequest(list))); }
public UpdateChecklistCommentRequest(OapChecklistComment comment) { ChecklistComment = comment; }