public ActionResult Index2(calSal n) { ViewBag.name = n.name; ViewBag.basic = n.basic; ViewBag.da = n.daily_allowance; ViewBag.pf = n.provident_fund; ViewBag.hra = n.house_rent_allowance; ViewBag.netsal = n.net_sal; return(View()); }
public ActionResult Index2() { calSal calc = new calSal(); return(View(calc)); }