//
//  MVMCoreDismissViewControllerOperation.h
//  myverizon
//
//  Created by Scott Pfeil on 9/28/15.
//  Copyright © 2015 Verizon Wireless. All rights reserved.
//
//  Operation for dismissing an alert view controller. Needs to be added to the main queue

#import "MVMCoreOperation.h"
#import <UIKit/UIKit.h>

@interface MVMCoreDismissViewControllerOperation : MVMCoreOperation

// Goes up the presentation chain to only dismiss the top presented.
- (nullable instancetype)initAndDismissTopViewController:(nullable UIViewController *)viewController animated:(BOOL)animated;

// Dismiss the passed in view controller.
- (nullable instancetype)initAndDismissViewController:(nullable UIViewController *)viewController animated:(BOOL)animated;

@end
