This is kind of an odd question but I could use some direction
I been working on a project using MVC and everywhere I look at examples, that the examples I see are nothing like I am really doing.
All examples are using Razor syntax and using @model to pass models from the controller to the view. But I am doing something different than what I am seeing and am wondering if I am using MVC incorrectly.
Instead of using Razor and @model, I am using HTML and JQuery and javascript objects and getting returned data that way.
So I am confused, am I doing things the "right way" or am I doing it the "wrong way"?
EDIT: How I get Data
// Get ClientInfo
function GetClientInformation() {
    $.ajax({
        type: "GET",
        url: AddClientURLParam.AddGetClientInformationURL,
        dataType: "json",
        contentType: "application/json; charset=utf-8",
        success: function (data, textStatus, jqXHR) {
            ClientDataToGet(data);
        }
    })
}
function ClientDataToGet(clientInfoData) {
    $("#txtCompanyName").val(clientInfoData.CompanyName);
    $("#txtAddress1").val(clientInfoData.Address);
    $("#txtAddress2").val(clientInfoData.Address2);
    $("#txtCity").val(clientInfoData.City);
    $("#txtState").val(clientInfoData.State);
    $("#txtZip").val(clientInfoData.ZipPostal);
    $("#txtEmail").val(clientInfoData.Email);
    $("#txtContact").val(clientInfoData.Contact);
    $("#txtPhone").val(clientInfoData.Phone);
    $("#txtWorkPhone").val(clientInfoData.WorkPhone);
    $("#txtMobile").val(clientInfoData.Mobile);
    $("#txtFax").val(clientInfoData.Fax);
    $("#txtOther").val(clientInfoData.OtherPhone);
}
 
     
     
    