﻿using System;

namespace WorkshopManager.Forms.RequestsDatabaseView
{
    public class RequestsDatabasePresenter
    {
        private IRequestsDatabaseView _view;

        public RequestsDatabasePresenter(IRequestsDatabaseView view)
        {
            _view = view;
            _view.Presenter = this;

            Init();
        }

        public void Init()
        {
            SetActiveComboBoxDataSource();
        }

        private void SetActiveComboBoxDataSource()
        {
            _view.ActiveDataComboBox = Enum.GetValues(typeof (RequestsCategory));
        }
    }
}

﻿namespace WorkshopManager.Forms.RequestsDatabaseView
{
    public class RequestsDatabasePresenter
    {
        public RequestsDatabasePresenter(IRequestsDatabaseView view)
        {
            
        }
    }
}

Revert "Added form initialization method in Presenter"
Revert "Added form initialization method in Presenter"

This reverts commit 938944c6b4823cac8ec02abb47794fefecf76d0a.
