def delete(self, request, context):
    (params, metadata) = self.parse_request(request, context)
    with self.locator.get_service('NetworkTypeService', metadata) as ntype_service:
        ntype_service.delete(params)
        return self.locator.get_info('EmptyInfo')
def delete(self, request, context):
    (params, metadata) = self.parse_request(request, context)
    with self.locator.get_service('NetworkTypeService', metadata) as ntype_service:
        ntype_service.delete(params)
        return self.locator.get_info('EmptyInfo')