static DependencyResolver() { _employeesDao = new EmployeesDao(); _employeesLogic = new EmployeesLogic(_employeesDao); _filesDao = new FilesDao(); _filesLogic = new FilesLogic(_filesDao); _newsDao = new NewsDao(); _newsLogic = new NewsLogic(_newsDao); _pagesDao = new PagesDao(); _pagesLogic = new PagesLogic(_pagesDao); _patientsDao = new PatientsDao(); _patientsLogic = new PatientsLogic(_patientsDao); _postsDao = new PostsDao(); _postsLogic = new PostsLogic(_postsDao); _recordsDao = new RecordsDao(); _recordsLogic = new RecordsLogic(_recordsDao); _rolesDao = new RolesDao(); _rolesLogic = new RolesLogic(_rolesDao); _specialtiesDao = new SpecialtiesDao(); _specialtiesLogic = new SpecialtiesLogic(_specialtiesDao); _usersDao = new UsersDao(); _usersLogic = new UsersLogic(_usersDao, _rolesDao); }
public PagesLogic(IPagesDao pagesDao) { _pagesDao = pagesDao; }