Esempio n. 1
0
        // GET: Admin
        //TODO : NEED TO BE REVISED BECAUSE OF THE HTTTP FILES LIST
        public ActionResult Index()
        {
            client.Connect();
            SenderServiceReference1.ApplicationResource[] list         = _proxy.GetAllApplications();
            IEnumerable <Models.ApplicationModel>         applications = list.Select(x => new Models.ApplicationModel {
                Cpr = x.Cpr, FirstName = x.FirstName, LastName = x.LastName, PhoneNumber = x.PhoneNumber, Email = x.Email, Address = x.Address, ZipCode = x.ZipCode, City = x.City, cv = x.CVPath, idcard = x.IDPicturePath, yellow = x.YellowCardPath, GuidLine = x.GuidLine, files = new HttpPostedFileBase[3]
            });

            return(View(applications));
        }