public async Task <IActionResult> RemoveImage(int imageId) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var result = await _manageProductService.RemoveImages(imageId); if (result == 0) { return(BadRequest()); } return(Ok()); }