Пример #1
0
        public async Task <IHttpActionResult> AddDictionary(Dict dict)
        {
            var resultData = await _dictionaryRepository.AddDictionary(dict);

            if (resultData == false)
            {
                return(InternalServerError());
            }
            else
            {
                return(Ok());
            }
        }