public async Task <IActionResult> AddTag([FromBody] CommonTagRequest request) { var success = await _tagBusiness.InsertAsync(TinyMapper.Map <TagInfo>(request)); if (success) { return(Ok()); } return(BadRequest()); }
public async Task <IActionResult> AddTag([FromBody] CommonTagRequest request) { var success = await _tagBusiness.InsertAsync(TinyMapper.Map <TagInfo>(request)); if (success) { return(Ok()); } return(BadRequest()); }