function DeleteRating(SkillRatingId) {
        var element = document.getElementById("loading");

        $.ajax({
            type: "POST",
            url: '/SkillRating/DeleteRating',
            data: { SkillRatingId: SkillRatingId },
            complete: function (result) {
                if (result.responseText) {

                    DeleteReload();
                    AlertEmployee("Succesfully removed rating")
                }
                else {
                    ValidateEmployee('please check your connection');

                }

            }
        });
    }
//Function to Delete a skill rating already done,argument passed Id being the skillRatingId
Function to Delete a skill rating already done,argument passed Id being the skillRatingId
Function to Delete a skill rating already done argument passed Id being the skillRatingId
function DeleteRating(SkillRatingId) {
        var element = document.getElementById("loading");
        $.ajax({
            type: "POST",
            url: '/SkillRating/DeleteRating',
            data: { SkillRatingId: SkillRatingId },
            complete: function (result) {
                if (result.responseText) {
                    DeleteReload();
                    AlertEmployee("Succesfully removed rating")
                }
                else {
                    ValidateEmployee('please check your connection');
                }
            }
        });
    }
function DeleteRating ( SkillRatingId ) { var element = document . getElementById ( "loading" ) ; $ . ajax ( { type : "POST" , url : '/SkillRating/DeleteRating' , data : { SkillRatingId : SkillRatingId } , complete : function ( result ) { if ( result . responseText ) { DeleteReload ( ) ; AlertEmployee ( "Succesfully removed rating" ) } else { ValidateEmployee ( 'please check your connection' ) ; } } } ) ; }
Function to Delete a skill rating already done,argument passed Id being the skillRatingId
Function to Delete a skill rating already done argument passed Id being the skillRatingId