public String Post([Bind]Sys_GeneralConfigModel model)
 {
     string message = string.Empty;
     var service = new Sys_AttOvertimePermitConfigServices();
     var entity = model.CopyData<Sys_GeneralConfigEntity>();
     service.SaveGeneralConfig(entity);
     return message;
 }
        public String Post([Bind] Sys_GeneralConfigModel model)
        {
            string message = string.Empty;
            var    service = new Sys_AttOvertimePermitConfigServices();
            var    entity  = model.CopyData <Sys_GeneralConfigEntity>();

            service.SaveGeneralConfig(entity);
            return(message);
        }