public IActionResult Delete(int id) { if (!ModelState.IsValid) { return(new BadRequestObjectResult(ModelState)); } else { _logoService.Delete(id); _logoService.Save(); return(new OkObjectResult(id)); } }
public void Delete(long id) { _logoService.Delete(id); }