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