// GET: ITOperations public ActionResult Index(string groupId) { try { CommonFunctions common = new CommonFunctions(); groupId = common.DecryptString(groupId); string connStr = objCustRepo.GetCustomerConnString(groupId); var lstOutlet = RR.GetOutletList(groupId, connStr); var lstBrand = RR.GetBrandList(groupId, connStr); var GroupDetails = objCustRepo.GetGroupDetails(Convert.ToInt32(groupId)); ViewBag.OutletList = lstOutlet; ViewBag.BranchList = lstBrand; ViewBag.GroupId = groupId; ViewBag.GroupName = GroupDetails.RetailName; } catch (Exception ex) { newexception.AddException(ex, groupId); } return(View()); }