[HttpGet] //To take preference of the view with the Sub Level specified public string GetPreferenceColumnOfView(int idView, int idSubLevel) { SQLServerManager SQL = new SQLServerManager(SqlCnxStr); string preferenceOfView = SQL.SP_GetPreferenceColumnOfView(SqlCnxStr, idView, idSubLevel); return(preferenceOfView); }