Пример #1
0
        public HttpResponseMessage AddUserDocument(UserDocumentDto documentDto)
        {
            var serviceResult = _documentService.AddUserDocument(documentDto, SessionUser.User.Id);

            if (serviceResult.ServiceResultType != ServiceResultType.Success)
            {
                return(Error());
            }

            return(OK(serviceResult));
        }