public static function addService($obj_Service)
 {
     $db = config::dbconfig();
     $obj_retresult = new returnResult();
     $obj_Service->ServiceId = DAL_manageService::getLastServiceId() + 1;
     $sql = "INSERT INTO tbl_service (ServiceId,ServiceName,Description) \n\t\tVALUES (" . common::noSqlInject($obj_Service->ServiceId) . "," . "'" . common::noSqlInject($obj_Service->ServiceName) . "'" . "," . "'" . common::noSqlInject($obj_Service->Description) . "'" . ");";
     $rs = mysql_query($sql);
     if (mysql_affected_rows() > 0) {
         $obj_retresult->type = 1;
         $obj_retresult->msg = "success";
         $obj_retresult->data = $obj_Service;
     } else {
         $obj_retresult->type = 0;
         $obj_retresult->msg = "failed";
     }
     return $obj_retresult;
 }