Beispiel #1
0
        public EmployeeInfoViewModel(EmployeeInformationEdit employeeInfo)
        {
            Employee  = employeeInfo;
            IsEditing = false;

            States = StateList.GetStateList();
        }
Beispiel #2
0
        public ActionResult AddState(watershed_state state)
        {
            //WaterShed.WaterShedservice.Service1Client service = new WaterShed.WaterShedservice.Service1Client();
            String statelist = StateList.GetStateList();

            try
            {
                return(Json(new
                {
                    msg = "success ", list = statelist
                }));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }