Exemplo n.º 1
0
        public ActionResult PersonResumeWithProjects(int Id)
        {
            DbPerson          PersonOperations;
            DbPersonsProjects ppOperations;
            OperationBase     dbOperation = new DbPerson();

            PersonOperations = (DbPerson)dbOperation;
            var           model        = PersonOperations.GetPersonDetailsById(Id);
            OperationBase dbOperation1 = new DbPersonsProjects();

            ppOperations = (DbPersonsProjects)dbOperation1;
            var ppModel = ppOperations.GetResumeByPersonID(Id);
            PersonResumeWithProjectsModel newModel = new PersonResumeWithProjectsModel();

            newModel.personModel    = model;
            newModel.personProjects = ppModel;
            return(View(newModel));
        }
Exemplo n.º 2
0
 public PersonsProjectsController()
 {
     dbOperation  = new DbPersonsProjects();
     ppOperations = (DbPersonsProjects)dbOperation;
 }