public IActionResult Delete(long id) { var project = _context.Project.Find(id); _context.Project.Remove(project); _context.SaveChanges(); return(NoContent()); }
public IActionResult Delete(long id) { var package = _context.Package.Find(id); _context.Package.Remove(package); _context.SaveChanges(); return(NoContent()); }