private void InitializeViewAvance( long idCall, EvaluationType type, Int32 idCommunity, long idCommission, dtoEvaluationsFilters filters, CallForPaperType CpType ) { type = ServiceCall.CommissionGetEvalType(idCommission); List <EvaluationFilterStatus> items = Service.GetAvailableEvaluationFilterStatus(idCall); List <dtoSubmitterType> types = Service.GetSubmitterTypes(idCall, ManageEvaluationsAction.None); if (!items.Contains(filters.Status)) { filters.Status = items[0]; } if (types == null || (types != null && (!types.Any() && !types.Where(i => i.Id == filters.IdSubmitterType).Any()))) { filters.IdSubmitterType = -1; } View.CurrentFilters = filters; View.LoadAvailableStatus(items, filters.Status); View.LoadAvailableSubmitterTypes(types, filters.IdSubmitterType); LoadEvaluationsAdvance( idCall, type, idCommunity, idCommission, filters, View.PreloadPageIndex, View.PreloadPageSize, CpType); }