delete mvc and api