public ThanaController(IThanaService thanaService, IDivisionService divisionService , IDistrictService districtService, ISPService spService) { this.thanaService = thanaService; this.divisionService = divisionService; this.districtService = districtService; this.spService = spService; }
public OfficeExecutiveController(IOfficeExecutiveService officeExecutiveService, IOrganizationService organizationService , IDesignationService designationService, IDepartmentService departmentService , IGenderService genderService, IDivisionService divisionService, IDistrictService districtService , IThanaService thanaService, ICountryService countryService, ITeamService teamService , IProfessionService professionService, ISPService spService) { this.officeExecutiveService = officeExecutiveService; this.organizationService = organizationService; this.designationService = designationService; this.departmentService = departmentService; this.genderService = genderService; this.divisionService = divisionService; this.districtService = districtService; this.thanaService = thanaService; this.countryService = countryService; this.teamService = teamService; this.professionService = professionService; this.spService = spService; }
public ThanaController() { var dbfactory = new DatabaseFactory(); _thanaService = new ThanaService(new ThanaRepository(dbfactory), new UnitOfWork(dbfactory)); }