public ApplicationStatistic() { InitializeComponent(); lblMyOffersShared.Text = JobOfferService.GetOffersByBusinessName(LoggedData.LoggedBusiness.Name).Count.ToString(); lblTechnologyOffersJob.Text = JobOfferService.GetJobBsyCategoryAndBusinessName("Technology", LoggedData.LoggedBusiness.Name).ToString(); lblPristinaOffers.Text = JobOfferService.GetJobBsyCity("Prishtinë").ToString(); //// //Applications statistic lblApplicationsNum.Text = ApplicationService.GetApplicationByBusinessName(LoggedData.LoggedBusiness.Name).Count.ToString(); lblMaleApplications.Text = ApplicationService.GetApplicationsByMale().ToString(); lblRefusedApplications.Text = ApplicationService.ApplicationRefused(LoggedData.LoggedBusiness.Name).ToString(); //female find int femaleCount = ApplicationService.GetApplicationByBusinessName(LoggedData.LoggedBusiness.Name).Count - ApplicationService.GetApplicationsByMale(); lblFemalApplicants.Text = femaleCount.ToString(); }
public StatisticJobCategory() { InitializeComponent(); lblConstructionNumIndustry.Text = JobOfferService.GetJobBsyCategory("Construction").ToString(); lblEnergyNumIndustry.Text = JobOfferService.GetJobBsyCategory("Energy").ToString(); lblFinanceNumIndustry.Text = JobOfferService.GetJobBsyCategory("Finance").ToString(); lblHealthNumIndustry.Text = JobOfferService.GetJobBsyCategory("Health").ToString(); lblHospitalityNumIndustry.Text = JobOfferService.GetJobBsyCategory("Hospitality").ToString(); lblMediaNumIndustry.Text = JobOfferService.GetJobBsyCategory("Media").ToString(); lblTechNumIndustry.Text = JobOfferService.GetJobBsyCategory("Technology").ToString(); /// part cities /// ë /// lblPejaJobsNum.Text = JobOfferService.GetJobBsyCity("Pejë").ToString(); lblPodujevaJobsNum.Text = JobOfferService.GetJobBsyCity("Podujevë").ToString(); lblPrizrenJobsNum.Text = JobOfferService.GetJobBsyCity("Prizren").ToString(); lblMitrovicaJobsNum.Text = JobOfferService.GetJobBsyCity("Mitrovicë").ToString(); lblFerizajJobsNum.Text = JobOfferService.GetJobBsyCity("Ferizajë").ToString(); lblGJakovaJobsNum.Text = JobOfferService.GetJobBsyCity("Gjakovë").ToString(); lblPrishtinaJobsNum.Text = JobOfferService.GetJobBsyCity("Prishtinë").ToString(); }