Ejemplo n.º 1
0
        private InstitutionDAL GetInstitutionDalInstance()
        {
            if (institutionDal == null)
            {
                institutionDal = new InstitutionDAL();
            }

            return(institutionDal);
        }
Ejemplo n.º 2
0
 public void SaveInstitution(Institution institution)
 {
     InstitutionDAL.Save(null, null, institution);
 }
Ejemplo n.º 3
0
 public DepartmentController(IHEContext context)
 {
     this._context  = context;
     institutionDAL = new InstitutionDAL(context);
     departmentDAL  = new DepartmentDAL(context);
 }
 public InstitutionController(IHEContext context)
 {
     _context       = context;
     institutionDAL = new InstitutionDAL(context);
 }