public List <int> GetEligibleBenefits(int policyid, int memberid)//run in browser1 2 100 200 300 400
        {
            memberpolicyrepo   o   = new memberpolicyrepo();
            providerpolicyrepo res = new providerpolicyrepo();
            List <int>         cob = new List <int>();
            List <int>         f   = new List <int>();

            cob = o.gethosloc(memberid); //hosp loc
            f   = res.getbenefits(cob);
            return(f);
        }
Esempio n. 2
0
        public List <int> GetEligibleBenefits(int policyid, int memberid)//run in browser1 2 100 200 300 400
        {
            _log4net.Info("Policy Controller GetEligibleBenefits action method is called");
            memberpolicyrepo   o   = new memberpolicyrepo();
            providerpolicyrepo res = new providerpolicyrepo();
            List <int>         cob = new List <int>();
            List <int>         f   = new List <int>();

            cob = o.gethosloc(memberid); //hosp loc
            f   = res.getbenefits(cob);
            return(f);
        }
 public List <int> GetEligibleBenefits(int policyid, int memberid)//run in browser1 2 100 200 300 400
 {
     try
     {
         _log4net.Info("policyController get eligible benefits");
         memberpolicyrepo   o   = new memberpolicyrepo();
         providerpolicyrepo res = new providerpolicyrepo();
         List <int>         cob = new List <int>();
         List <int>         f   = new List <int>();
         cob = o.gethosloc(memberid); //hosp loc
         f   = res.getbenefits(cob);
         return(f);
     }
     catch
     {
         List <int> tk = new List <int>();
         return(tk);
     }
 }