Click here to Skip to main content
15,790,052 members

Comments by ElenaRez (Top 15 by date)

ElenaRez 18-May-20 14:39pm View    
Thank you for your help. But then How can I get the ChartListObjects value? I wrote something like below but there is an error for DimensionOne and Quantity part like the following: 'List<chartmodel>' does not contain a definition for 'Quantity' and no accessible extension method 'Quantity' accepting a first argument of type 'List<chartmodel>' could be found (are you missing a using directive or an assembly reference?'

var XLabels = Newtonsoft.Json.JsonConvert.SerializeObject(Model.GrantedApiToApplicantAvg.DimensionOne).ToList();
var YValues = Newtonsoft.Json.JsonConvert.SerializeObject(Model.GrantedApiToApplicantAvg.Quantity).ToList();
ElenaRez 18-May-20 10:22am View    
Thanks. If you assume that grantedAccessPercent and Avg are two queries and I add their data into lstModel1 and lstModel respectively that are all kinds of ChartModel. How can I integrate them into an object and pass them from index method of Controller into view?
ElenaRez 18-May-20 9:14am View    
Thank you for your help. I want in the razor view to have list of ChartModels but I don't know how to fix this. Maybe even the class ChartListObjects is useless. Or maybe I need to know how to get those chartModels in View
ElenaRez 8-May-20 23:30pm View    
Thank you for your reply. I pasted what you suggested and after running the project, there was shown "Redirection to /" to me in debug console. How can I fix this? Even I modified my signin method like the following, but there wasn't any change for Redirection result in debug console:

public async Task<iactionresult> Signin(SigninViewModel model, string returnUrl = null)
ElenaRez 2-May-20 10:13am View    
Thank you for your reply. Could you please explain how can I use UNC paths?