skip to Main Content

Excpetion regarding Viewdata Dictionary – Asp.net

I'm the getting following exception in my application and I don't know how to solve it. An unhandled exception occurred while processing the request. InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'System.Collections.Generic.Dictionary2[ProjetoFinalMVC.Models.Especializacao,System.Collections.Generic.List1[ProjetoFinalMVC.Models.Consulta]]', but this ViewDataDictionary instance…

VIEW QUESTION

Increase number until mets condition – Asp.net

I have creation of tenant Here is code var tenant = new Tenant(tenancyName, name) { IsActive = isActive, EditionId = editionId, SubscriptionEndDateUtc = subscriptionEndDate?.ToUniversalTime(), IsInTrialPeriod = isInTrialPeriod, ConnectionString = connectionString.IsNullOrWhiteSpace() ? null : SimpleStringCipher.Instance.Encrypt(connectionString) }; await CreateAsync(tenant); await _unitOfWorkManager.Current.SaveChangesAsync(); //To…

VIEW QUESTION
Back To Top
Search