public async Task Save(
#if NETCOREAPP
            [FromBody]
#endif
            SaveEmailTemplateCommand command)
        {
            await _commandExecutor.ExecuteAsync(command);
        }
        public void Context()
        {
            _emailTemplate = A.Fake <EmailTemplate>();

            const int emailTemplateId         = 23;
            var       emailTemplateRepository = A.Fake <IRepository <EmailTemplate> >();

            A.CallTo(() => emailTemplateRepository.GetAsync(emailTemplateId)).Returns(_emailTemplate);

            _emailTemplateDto = new EmailTemplateDto
            {
                EmailTemplateId = emailTemplateId,
            };
            var command = new SaveEmailTemplateCommand
            {
                EmailTemplate = _emailTemplateDto,
            };
            var handler = new SaveEmailTemplateCommandHandler(emailTemplateRepository);

            handler.ExecuteAsync(command).Wait();
        }