Don't modify the file manually.
Duplicate of #6732
Store it in the cookie on the second app's client side.
Abp.AbpInitializationException: ProjectName source contains more than one dictionary for the culture: en
Check the culture specified in the files.
CurrentCompanyId
and CurrentNurseHomeId
should be getter properties instead of null
fields.
protected int? CurrentCompanyId => GetCurrentCompanyIdOrNull();
protected int? CurrentNurseHomeId => GetCurrentNurseHomeIdOrNull();
See AbpDbContext.cs#L77.
Show images and code.
What shouldn't be there? What boolean switch?
Don't modify questionaire
directly.
- var questionnaire = await _questionnaireRepository.GetAsync(id);
- questionnaire.Status = QuestionnaireStatus.UploadedByClient;
-
- CreateOrEditQuestionnaireDto questionnaireDto = new CreateOrEditQuestionnaireDto();
- questionnaireDto = ObjectMapper.Map<CreateOrEditQuestionnaireDto>(questionnaire);
+ var questionnaireDto = await _questionnaireRepository.GetAll()
+ .Where(q => q.Id == id)
+ .Select(q => ObjectMapper.Map<CreateOrEditQuestionnaireDto>(q))
+ .FirstAsync();
+ questionnaireDto.Status = QuestionnaireStatus.UploadedByClient;
Your connection string is invalid.
Show code for CurrentCompanyId
.