Ejemplo n.º 1
0
        public async Task <IActionResult> AddTag([FromBody] CommonTagRequest request)
        {
            var success = await _tagBusiness.InsertAsync(TinyMapper.Map <TagInfo>(request));

            if (success)
            {
                return(Ok());
            }
            return(BadRequest());
        }