Exemplo n.º 1
0
        public ActionResult Edit_Get(Guid clientid)
        {
            System.Threading.Thread.CurrentThread.CurrentCulture   = new CultureInfo("en-GB");
            System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB");
            ClientDAL        objdal           = new ClientDAL();
            Client           entobj           = objdal.GetSingle(clientid);
            LeadGeneratorDAL objdallg         = new LeadGeneratorDAL();
            ClientAccMapper  listAccontNumber = new ClientAccMapper();
            var model = new Client();

            model                   = entobj;
            model.LGlist            = objdallg.GetAll().ToList();
            model.AccountNumberList = objdal.GetAcountNumberByClinetId(clientid);
            return(View(model));
        }
Exemplo n.º 2
0
        public ActionResult Index(Guid clientId)
        {
            ClientDAL objdal = new ClientDAL();
            List <ClientAccMapper> clientAccMapper = new List <ClientAccMapper>();

            try
            {
                clientAccMapper = objdal.GetAcountNumberByClinetId(clientId).ToList();
            }
            catch (Exception ex)
            {
                View(clientAccMapper);
            }
            return(View(clientAccMapper));
        }