public DepartmentService(LdCmsDbEntitiesContext LdCmsDbEntitiesContext, IDepartmentDAL DepartmentDAL) { this.LdCmsDbEntitiesContext = LdCmsDbEntitiesContext; this.DepartmentDAL = DepartmentDAL; this.Dal = DepartmentDAL; }
public DepartmentController(IDepartmentDAL departmentDAL) { _departmentDAL = departmentDAL; }
public static IDepartmentDAL GetDepartmentDAL() { IDepartmentDAL dal = GetInstance("DepartmentDAL") as IDepartmentDAL; return(dal); }
public DepartmentManager() { _departmentDal = new NinjectManager().CoreKernel.Get <IDepartmentDAL>(); }
public DepartmentBLL(IDepartmentDAL dal) { _dal = dal ?? throw new ArgumentNullException(nameof(dal)); }
public DepartmentService(CTMSContext CTMSContext, IDepartmentDAL DepartmentDAL) { this.CTMSContext = CTMSContext; this.DepartmentDAL = DepartmentDAL; this.Dal = DepartmentDAL; }