﻿function GetData(as,theUrl,methodType, successFunction, errorFunction, theData) {
    $.ajax({
        async: as,
        url: theUrl,
        data: theData,
        dataType: "json",
        type: methodType,
        contentType: 'application/json; charset=utf-8',
        success: successFunction
        ,
        error: errorFunction
        
    });
}
