public ReportService(CommonService commonService, IDb db, CurrentSession currentSession)
 {
     this.db            = db;
     this.commonService = commonService;
     userDetail         = currentSession.CurrentUserDetail;
 }
 public AttendenceService(CommonService commonService)
 {
     this.commonService = commonService;
     this.cacheManager  = CacheManager.GetInstance();
     userDetail         = cacheManager.Get("userdetail") as UserDetail;
 }