public async Task <IActionResult> Block(int id) { int idSeller = User.GetIdSeller(); if (await sanPhamService.Block(idSeller, id)) { return(Ok()); } return(BadRequest()); }