Ejemplo n.º 1
0
        public List <SelectListItem> GetQuestionTolink(string service, Guid idAccount, IDataProtector protector)
        {
            var idService = Guid.Parse(service);

            return
                (_questionDao.GetQuestionsToLink(idService, idAccount)
                 .Select(q => new SelectListItem()
            {
                Text = q.Title, Value = q.Id.ToString()
            })
                 .ToList());
        }