Exemple #1
0
        public async Task <IActionResult> DeleteTag(string id)
        {
            int.TryParse(id, out var tid);
            var success = await _tagBusiness.SoftDeleteAsync(tid);

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