Пример #1
0
        public PostLanguageResponse Post(PostLanguageRequest request)
        {
            var result =
                languageService.Put(
                    new PutLanguageRequest
                    {
                        Data = request.Data,
                        User = request.User
                    });

            return new PostLanguageResponse { Data = result.Data };
        }
Пример #2
0
        public PostLanguageResponse Post(PostLanguageRequest request)
        {
            var result =
                languageService.Put(
                    new PutLanguageRequest
            {
                Data = request.Data,
                User = request.User
            });

            return(new PostLanguageResponse {
                Data = result.Data
            });
        }