/// <summary>
        /// Get all the employess
        /// </summary>
        /// <returns></returns>
        public List <EmployeeResponse> GetAllEmployees(int?id)
        {
            List <EmployeeResponse> result = JasonUitls <List <EmployeeResponse> > .GetObjectResponse(service.ExcuteGetMethod(ConfigurationManager.AppSettings["MasGlobalEmployeAction"]));

            if (id.HasValue)
            {
                return(result.Where(x => x.Id == id.Value).ToList());
            }
            return(result);
        }
 public void GetAllEmployee()
 {
     this.EmployeeList = JasonUitls <List <Employee> > .GetObjectResponse(service.ExcuteGetMethod(ConfigurationManager.AppSettings["MasGlobalTestEmployeeAction"] + (this.id.HasValue ? "?id=" + this.id.Value.ToString() : "")));
 }