using Hcs.WebApp.Data.Hcs;

namespace Hcs.WebApp.BackgroundServices.CampaignManagers
{
    public interface IManager
    {
        public enum ManagerState
        {
            Created,
            Started,
            Ended
        }

        public Campaign Campaign { get; }

        public ManagerState State { get; }

        Task ProcessAsync();

        Task EndWithFailAsync(Exception e);
    }
}
