Exemplo n.º 1
0
        public ActionResult ShowData(string actionname, string BnDType)
        {
            string       name     = actionname;
            string       type     = BnDType;
            BirthProcess Bprofile = new BirthProcess();

            string[] line = actionname.Split('|');
            string   sts  = line[0].ToString();

            Bprofile.Status = sts;

            Bprofile.nextAction = actionname;

            BirthProcessAction objDB = new BirthProcessAction(); //calling class DBdata

            Bprofile.ShowallBirthRegis = objDB.GetAllEmployees(name, type);
            return(View(Bprofile));
        }