public async Task FormResponseRepository_AddNew_Success()
        {
            FormBuild    formBuild    = new FormBuild("Teste", DateTime.Now);
            FormResponse formResponse = new FormResponse(formBuild);

            //act
            await _repository.AddAsync(formResponse);

            await _unitOfWork.SaveChangesAsync();

            //assert
            Assert.True(formResponse.Id > 0);
        }
        public async Task <ValidationResult> AddAsync(FormResponse formResponse)
        {
            ValidationResult result = formResponse.Validate();

            if (result.IsValid)
            {
                await _repository.AddAsync(formResponse);
            }

            return(result);
        }