예제 #1
0
        public async Task <Result <HelpTicketCommentManageModel> > GetHelpTicketComment(int id)
        {
            if (id == 0)
            {
                return(new HelpTicketCommentManageModel(null)
                {
                    StatusCode = RecordStatusCode.Active,
                });
            }

            var result = await _helpService.GetHelpTicketCommentAsync(id);

            return(new HelpTicketCommentManageModel(result));
        }