コード例 #1
0
        public async Task <ActionResult <ResponseDto <string> > > DocumentSeen(int id)
        {
            ResponseDto <string> result = await _documentsService.DocumentSeen(id);

            if (result.HasErrors)
            {
                return(BadRequest(result));
            }

            return(Ok(result));
        }