public async Task ReturnCorrectViewModel()
        {
            var sut = new DeleteQueryHandlerAsync(Context);
            var result = await sut.Handle(new DeleteQueryAsync { TaskId = TaskId });

            Assert.IsType<DeleteViewModel>(result);
        }
        public async Task ReturnCorrectViewModel()
        {
            var sut    = new DeleteQueryHandlerAsync(Context);
            var result = await sut.Handle(new DeleteQueryAsync { TaskId = TaskId });

            Assert.IsType <DeleteViewModel>(result);
        }
        public async Task ReturnCorrectData()
        {
            var sut = new DeleteQueryHandlerAsync(Context);
            var result = await sut.Handle(new DeleteQueryAsync { TaskId = TaskId });

            Assert.Equal(result.Id, task.Id);
            Assert.Equal(result.OrganizationId, task.Event.Campaign.ManagingOrganizationId);
            Assert.Equal(result.CampaignId, task.Event.CampaignId);
            Assert.Equal(result.CampaignName, task.Event.Campaign.Name);
            Assert.Equal(result.EventId, task.Event.Id);
            Assert.Equal(result.EventName, task.Event.Name);
            Assert.Equal(result.Name, task.Name);
            Assert.Equal(result.StartDateTime, task.StartDateTime);
            Assert.Equal(result.EndDateTime, task.EndDateTime);
        }
        public async Task ReturnCorrectData()
        {
            var sut    = new DeleteQueryHandlerAsync(Context);
            var result = await sut.Handle(new DeleteQueryAsync { TaskId = TaskId });

            Assert.Equal(result.Id, task.Id);
            Assert.Equal(result.OrganizationId, task.Event.Campaign.ManagingOrganizationId);
            Assert.Equal(result.CampaignId, task.Event.CampaignId);
            Assert.Equal(result.CampaignName, task.Event.Campaign.Name);
            Assert.Equal(result.EventId, task.Event.Id);
            Assert.Equal(result.EventName, task.Event.Name);
            Assert.Equal(result.Name, task.Name);
            Assert.Equal(result.StartDateTime, task.StartDateTime);
            Assert.Equal(result.EndDateTime, task.EndDateTime);
        }