public async Task <IActionResult> DeleteProduct(int productId) { ProductDTO productDTOResponse; try { var response = await _productBLL.DeleteProduct(productId); productDTOResponse = _mapper.Map <ProductDTO>(response); } catch (Exception ex) { throw ex; } return(base.Ok(productDTOResponse)); }