[HttpGet] // To get the different type of line in the table public string GetTypeLineOfTable(string tableName) { SQLServerManager SQL = new SQLServerManager(SqlCnxStr); string primaryList = SQL.SP_GetTypeLineOfTable(SqlCnxStr, tableName); return(primaryList); }