public ActionResult Header() { var Logginuser = _userAppService.GetLoggedInUser(); var userInfo = _userAppService.GetUserLogidInInfo(); var finacialYear = _financialYearAppService.GetActiveFinancialYear(); var header = new HeaderDto { dealers = _dealerAppService.GetTotalDealerByStationId(_stationAppService.GetStation(Logginuser.StationId), finacialYear), licenses = _licenseAppService.GetTotalLicenseByStationId(Logginuser.StationId), bills = _billAppService.GetTotalBillsByStation(_stationAppService.GetStation(Logginuser.StationId), finacialYear), financialYear = _financialYearAppService.GetActiveFinancialYear(), UserInfo = userInfo }; return(PartialView("_Header", header)); }