public async void Can_delete_template()
        {
            var template = CreateFirstDepositTemplate();

            var result = await ApiProxy.DeleteBonusTemplateAsync(new DeleteTemplate { TemplateId = template.Id });

            result.Success.Should().BeTrue();
        }
        public void Cannot_delete_template_with_invalid_brand()
        {
            LogInApi(Guid.Empty);
            var template = CreateFirstDepositTemplate();

            AssertActionIsForbidden(() => ApiProxy.DeleteBonusTemplateAsync(new DeleteTemplate {
                TemplateId = template.Id
            }));
        }