Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class HomeController : Controller
- {
- public ActionResult Index()
- {
- AutoRTGSEntities_1 dc = new AutoRTGSEntities_1();
- //dc.policies.Where(cb => cb.Section_Key.Contains("SenderBIC"));
- return View(dc.policies.Where(cb => cb.Policy_Section.Contains("RTGS")).ToList()); //get RTGS policy section data
- }
- @model IEnumerable<Swift_MT_103.policy>
- @{
- ViewBag.Title = "Home Page";
- }
Add Comment
Please, Sign In to add comment