summaryrefslogtreecommitdiff
path: root/src/MVPtoMVVM.mvp/presenters/IMvpPresenter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/MVPtoMVVM.mvp/presenters/IMvpPresenter.cs')
-rw-r--r--src/MVPtoMVVM.mvp/presenters/IMvpPresenter.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/MVPtoMVVM.mvp/presenters/IMvpPresenter.cs b/src/MVPtoMVVM.mvp/presenters/IMvpPresenter.cs
new file mode 100644
index 0000000..24dc65b
--- /dev/null
+++ b/src/MVPtoMVVM.mvp/presenters/IMvpPresenter.cs
@@ -0,0 +1,12 @@
+using MVPtoMVVM.views;
+
+namespace MVPtoMVVM.presenters
+{
+ public interface IMvpPresenter
+ {
+ void SetView(IMvpView view);
+ void AddNewItem();
+ void CancelAllChanges();
+ void Remove(int itemId);
+ }
+} \ No newline at end of file