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

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

            return(OK(serviceResult));
        }