Exemple #1
0
        public async Task <IActionResult> DeleTe(int ma)
        {
            var result = await _yeuCauService.Delete(ma);

            if (result == null)
            {
                return(BadRequest());
            }
            return(Ok());
        }
Exemple #2
0
        public async Task <IActionResult> DeleTe(int ma)
        {
            var result = await _yeuCauService.Delete(ma);

            return(Ok(result));
        }