Exemplo n.º 1
0
        public async Task <IActionResult> DeleteProductAsync(DeleteProductBindingModel model)
        {
            var(IsSuccessed, ErrorMsg) = await _productBLL.DeleteProductAsync(model.ID);

            return(Json(new
            {
                IsSuccessed,
                ErrorMsg
            }));
        }