AppMVC.Controllers.ClientesController.Buscar C# (CSharp) Method

Buscar() private method

private Buscar ( ClientesModel cli ) : System.Web.Mvc.ActionResult
cli AppMVC.Models.ClientesModel
return System.Web.Mvc.ActionResult
        public ActionResult Buscar(ClientesModel cli)
        {
            wflClientes owflcli = new wflClientes();
            DataTable cliente = new DataTable();
            ClientesModel _cliente = new ClientesModel();
            string strmensaje = "";
            owflcli.obtenerRegistro(cli.NroCliente,ref cliente );
            try
            {
            _cliente.NroCliente=Convert.ToInt16(cliente.Rows[0]["idcliente"]);
            _cliente.RazonSocial = cliente.Rows[0]["razonsocial"].ToString();
            _cliente.CUIL = cliente.Rows[0]["cuil"].ToString();
            _cliente.Domicilio = cliente.Rows[0]["domicilio"].ToString();
            }
            catch{}

            return View(_cliente);
        }
ClientesController